Is there a reason you need to use Robocopy instead of KiXtart's built-in copy?

 Code:
If InGroup("Domain Users")
     DEL "%USERPROFILE%\Desktop\*.ico" ; you wanted to remove all their desktop icons, correct?
     COPY "\\SERVER-A\NETLOGON\Desktop Icons\*.*" "%USERPROFILE%\Desktop\*.*"
EndIf


To use the "all users" profile instead, just change "%USERPROFILE% to %ALLUSERSPROFILE%.


Edited by eriqjaffe (2008-11-04 06:19 PM)