in reply to Script Directory vs. Directory Script was Called From

Hello

This is not the best idea but give it a shot. Cycle through all directories in your PATH environment variable and see in which directory your script resides. The first directory you find is the directory you want since this is what was used to invoke your script.

Otherwise, put it in c:\windows!!! Sorry, a non-windows user.

Aziz,,,

  • Comment on Re: Script Directory vs. Directory Script was Called From