Computing.Net > Forums > Programming > Copy folders in a batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Copy folders in a batch file

Reply to Message Icon

Name: William Lockie (by blockie)
Date: June 12, 2008 at 20:26:48 Pacific
OS: WXP SP2
CPU/Ram: 1.4/512
Product: Clone
Comment:

I used the following command in a batch file to copy te folder 'memship' and its contents to another folder.
It doesn't work. What might be wrong?

xcopy /E /Y c:\program files\microsoft visual studio\vfp98\memship\*.* c:\backups\

I have tried it with and without the '*.*'
Bill

William Lockie
"OS: WXP SP2
CPU/Ram: 3.0/2GB
Manufacturer/Model: clone"



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: June 13, 2008 at 02:30:35 Pacific
Reply:

You missed the quotes ", i.e.

xcopy /E /Y "C:\program files\microsoft visual studio\vfp98\memship\*.*" c:\backups\


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Copy folders in a batch file

Get a Folder size in a batch file www.computing.net/answers/programming/get-a-folder-size-in-a-batch-file/9587.html

Extract comp. alias in a batch file www.computing.net/answers/programming/extract-comp-alias-in-a-batch-file/11253.html

Putting Sound in a batch file www.computing.net/answers/programming/putting-sound-in-a-batch-file/15461.html