Saved Bookmarks
| 1. |
Solve : XCOPY - .bat to all users? |
|
Answer» I'm trying to RUN a batch file that deploys files from our file server to the all users startup folder and C drive without having to manually drag each file to its destination. When I copy the files from the network path to the WINDOWS DIRECTORY, all is well. When I copy to the C:\Documents and Settings\All Users\Start Menu\Programs\Startup I get "The syntax of the command is incorrect". I guessing I need the old school ~ paths but I'm not sure what I need to do. Help please.Nevermind I figured it out. You must use quotation marks around the path. Quote from: prosportal on July 02, 2009, 03:29:21 PM Nevermind I figured it out. You must use quotation marks around the path.GOOD for you! One thing to make it so you won't get that error again is to ALWAYS use QUOTES around paths. |
|