Go4Expert (http://www.go4expert.com/)
-   Programming (http://www.go4expert.com/forums/programming-forum/)
-   -   Batch Help (http://www.go4expert.com/forums/batch-help-t947/)

TeeRim 30Jun2006 07:40

Batch Help
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

shabbir 30Jun2006 10:51

Re: Batch Help
Try giving short names or use quotes whenever there is space in the folder path.

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

All times are GMT +5.5. The time now is 15:54.