Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: XCOPY - .bat to all users  (Read 2490 times)

0 Members and 1 Guest are viewing this topic.

prosportal

    Topic Starter


    Beginner

    Thanked: 5
    XCOPY - .bat to all users
    « on: July 02, 2009, 03:20:25 PM »
    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.

    prosportal

      Topic Starter


      Beginner

      Thanked: 5
      Re: XCOPY - .bat to all users
      « Reply #1 on: July 02, 2009, 03:29:21 PM »
      Nevermind I figured it out. You must use quotation marks around the path.

      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: XCOPY - .bat to all users
      « Reply #2 on: July 03, 2009, 08:26:33 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.
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.