Couple of thoughts come to mind..

Do you have the T: drive mapped on login? If so, is it established before this is executed?

Maybe tweaking the environment -
code:
shell '%comspec% ... other stuff

Change to -
code:
shell '%comspec% /C /E:512 ... other stuff

Spark up a CMD prompt and do a CMD /? to see what is there..

HTH,

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