xcopy
Posted: 15 Jan 2010 19:31
Hey guys..I have a desktop running Windows 7 and a work laptop (on a domain) running XP Pro SP2. I have created a share on my laptop to access my desktop so I can pull the files I need. The share works just fine but I would like to automate the transfer process (from the shared folder on my laptop to a different folder on the desktop) on startup. When I run the file using xcopy I keep getting an error saying there is a incorrect syntax. Here is what I am using:
I have researched the correct syntax and everything looks correct. I know the quotes need to be added since there are spaces used in the path. Any help on this would be greatly appreciated. Thanks in advance.
Code: Select all
xcopy "\\servername\path" "directory path on laptop"
I have researched the correct syntax and everything looks correct. I know the quotes need to be added since there are spaces used in the path. Any help on this would be greatly appreciated. Thanks in advance.