RoboCopy, get user credentials - Microsoft Community


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

Popular posts from this blog

ClipUp.exe 100% CPU at boot only - Microsoft Community

Error 8233 Microsoft Windows security -spp - Microsoft Community