I think what happens when you run an exe from kix or in this example, the script itself, it will default to the %temp% folder for file execution. So.. What you want to use rather thand @STARTDIR or @SCRIPTDIR, you will want to use a specific folder.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's