xcopy /O testfile.txt "\\ws123\c$\Documents and Settings\All Users\Desktop"
/O - preserve permissions
/S - include sub directories and files
can not xcopy direct to \\machine\c$ - need to xcopy into a folder.
Give full access to the "domain user" group first so the end user can access the file. The xcopy command supports tab completion over the network which makes this easier.
No comments:
Post a Comment