OK - wasn't sure if there were other parts not shown, particularly (failing to) loading vars that were required by the code you listed.

Re - location.. I pay particular attention to kix versions. I have a "customize" script that I run on my servers and admin workstations. It installs a copy of Kix locally, in a Program Files folder and adds it to the PATH. Only the "production" version is installed using the Kix32.exe file name, but on my admin workstations, it also installs all "recent" versions using a "Kix32_4.xx.EXE" format so I can invoke any version for testing. I don't recall ever encountering issues based on the path except once where the version was not up to date. I never install Kix32 on non-admin workstations, relying on the Netlogon share for the login scripts.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D