Hi I am using the below xcopy command in a batch file to copy the contents of the users desktop to a location on their 'H' drive:
xcopy "C:\Documents and Settings\user.domain\Desktop"*.* /e/I/H/R/Y H:\desktop-backup
Problem is that it ends up copying all of the users documents and settings, not just the desktop.
I know it is a small syntax error, but can't see it.
Any ideas?
Thanks
---------------------------------------
save a life - visit:
xcopy "C:\Documents and Settings\user.domain\Desktop"*.* /e/I/H/R/Y H:\desktop-backup
Problem is that it ends up copying all of the users documents and settings, not just the desktop.
I know it is a small syntax error, but can't see it.
Any ideas?
Thanks
---------------------------------------
save a life - visit: