D
Don Bouchard
I should know better, but something is just not working
right. Have Win2003 Server as a domain controller. Have
a logon.bat file in sysvol\domain\scripts directory (know
this works due to pause statements in it) In addition to
defining net shares, I also want to add one of the
network shares (T:\ - tools directory) to path variable.
Code is as follows:
rem net use statements above
path
pause
path %path%;t:\
pause
exit
After 1st pause, of course, path is std. win default.
After 2nd pause, of course, it has additional directory
added correctly.
logon.bat file ends, and I then open a command prompt on
same system and path is minus the t:\ variable! What am
I doing wrong??? It seems like I've done this thousands
of times just fine. Checked KB, FAQs, etc. and nothing
there. Any help would be most appreciated.
Thanks!
right. Have Win2003 Server as a domain controller. Have
a logon.bat file in sysvol\domain\scripts directory (know
this works due to pause statements in it) In addition to
defining net shares, I also want to add one of the
network shares (T:\ - tools directory) to path variable.
Code is as follows:
rem net use statements above
path
pause
path %path%;t:\
pause
exit
After 1st pause, of course, path is std. win default.
After 2nd pause, of course, it has additional directory
added correctly.
logon.bat file ends, and I then open a command prompt on
same system and path is minus the t:\ variable! What am
I doing wrong??? It seems like I've done this thousands
of times just fine. Checked KB, FAQs, etc. and nothing
there. Any help would be most appreciated.
Thanks!