1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Batch Help

Discussion in 'Programming' started by TeeRim, Jun 30, 2006.

  1. TeeRim

    TeeRim New Member

    Joined:
    Jun 30, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hello im in a bit of trouble trying to copy files from a folder to another folder. Its funny because .bat works when the folder is in c:\ but it wont copy to C:\Program Files. Im guessing because the folder is Read-Only. But ive tryed changing the attruibutes of the folder and is just changes back.Heres what I have in the .bat your help is greatly appreciated


    @echo on
    xcopy c:\Rev780 C:\Program Files\Wizet\MapleStory\GameGuard /y
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    Try giving short names or use quotes whenever there is space in the folder path.

    xcopy c:\tmp "C:\Program Files\Wizet\MapleStory\GameGuard"
     

Share This Page