Tech Support > Operating Systems > Windows NT > NT AT scheduler and paths
NT AT scheduler and paths
Posted by Richard on July 1st, 2003


Help,
I've modified the path variable in the System Properties
Environment tab, and I lauch any dos program from the
command line and everything works fine. However, when I'm
using the AT command, and launch a batch file the path
reverts back to the default path and problems begin. I've
attempted to expeclitely define all my called program
paths, but this is becomming impossible to maintain.

My question is, how do I change the default path
environment variable for the AT started batch files?

Thanks
Rich

Posted by Phil Robyn on July 1st, 2003


Richard wrote:
Jobs run by AT by default run as LOCAL SYSTEM, not you,
so the path associated with your userid does not apply.
Simply add a PATH statement specifying the path you want
at the beginning of your AT-scheduled batch file.

--
Phil Robyn
Univ. of California, Berkeley

u n z i p m y a d d r e s s t o s e n d e - m a i l


Posted by Dave Patrick on July 1st, 2003


I would give Phil's suggestion a go.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

"Richard" wrote:


Posted by Richard on July 1st, 2003



at 21:10 /interactive "d:\prod\bin\mwsload.bat"
See my respose to Dave.

Posted by Richard on July 1st, 2003



first line of code for in the batch file needs to modify
the PATH varable. This has appeared to of work.

DAH, why didn't I think of doing this?

Thanks all.


Similar Posts