Thank you! Apparantly the working directory was C:/WINNT instead of my location on the server. I always thought the wd was the directory where the script is being executed unless changed in the script. Guess not. Thanks for the useful bit of code, dws. A specific chdir() has healed all wounds.
X