12-04-2022, 09:55 PM
That will work. I'm not happy _CWD$ isn't working 100%. Is it incorrect or just null. If it's a null return, you could always use a delay or...
Pete
Code: (Select All)
DO
_LIMIT 10
i = i + 1
ExePath$ = _CWD$
LOOP UNTIL LEN(ExePath$) OR i > 100
IF i > 100 THEN PRINT "I BLAME STEVE!": END ELSE PRINT ExePath$
Pete
Shoot first and shoot people who ask questions, later.