G
Guest
I have a batch file that has the following lines in it. The file runs fine if
ran manually but if scheduled it fails at the system variable %logonserver%.
If I schedule it and place a pause after the first line I can see where it
does not pickup the variable %logonserver% it attempts to map z: to
\netlogon\efinstall and fails. Any help would be greatly appreciated.
net use z: %logonserver%\netlogon\efinstall
z:
copy *.* c:\efinstall
c:
net use z: /delete
ran manually but if scheduled it fails at the system variable %logonserver%.
If I schedule it and place a pause after the first line I can see where it
does not pickup the variable %logonserver% it attempts to map z: to
\netlogon\efinstall and fails. Any help would be greatly appreciated.
net use z: %logonserver%\netlogon\efinstall
z:
copy *.* c:\efinstall
c:
net use z: /delete