RoboCopy, get user credentials - Microsoft Community
Windows / Windows 7 / Programs
i hope in right place.
creating script copy users email signatures @ log off have copy.
robocopy "c:\users\%name.domain%\appdata\roaming\microsoft\signatures" "\\filesrv1\employee folders\%username%\my outlook\signatures" *.*
i have working when both %name .domain% , %username% not variables.
my scripting limited , trying see if setting variables work. i not know how lookup variables can set.
trying avoid need of script each person.
thanks in advance.
here go:
robocopy /w:1 /r:1 "%appdata%\microsoft\signatures" "\\filesrv1\employee folders\%username%\my outlook\signatures"
Windows / Windows 7 / Programs
Comments
Post a Comment