pinkpanther56
Technical User
I'd like to copy a folder at station startup, I can make it work with one command but not another. I'd like to use the %logonserver% variable to distribute the load, this works when I run the command manually but not as a station startup script.
This works
This doesn't
I've tried with and without \\ in front of %logonserver%
Can anyone tell me if this will be possible? I'm assuming that a client must have a logonserver set at startup to pull down GPOs.
Thanks.
This works
Code:
\\server\NETLOGON\robocopy\robocopy "\server\NETLOGON\Default User" "C:\Documents and Settings\Default User" /E /PURGE /V /NP /R:10 /W:30 >C:\robolog.txt
This doesn't
Code:
%logonserver%\NETLOGON\robocopy\robocopy "%logonserver%\NETLOGON\Default User" "C:\Documents and Settings\Default User" /E /PURGE /V /NP /R:10 /W:30 >C:\robolog.txt
I've tried with and without \\ in front of %logonserver%
Can anyone tell me if this will be possible? I'm assuming that a client must have a logonserver set at startup to pull down GPOs.
Thanks.