Why not do it simpler, you doing an array..
Code:

IF EXIST(@SCRIPTDIR+'\jt.exe')
;DO SCHEDULING
ENDIF



Let's look at the definitions of the macros you list:
@STARTDIR > Directory from which KiXtart was started
@SCRIPTDIR > Directory of current script
@CURDIR > Current directory

In the example you provided, these seem redundant.

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