Batch Help

TeeRim's Avatar, Join Date: Jun 2006
Newbie Member
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
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Try giving short names or use quotes whenever there is space in the folder path.

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