Computing.Net > Forums > Programming > .bat copy probs

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.

.bat copy probs

Reply to Message Icon

Name: djas
Date: September 25, 2004 at 15:23:38 Pacific
OS: Windows XP/Longhorn GUI
CPU/Ram: n/a
Comment:

can anyone tell me what im doing wrong, im trying to copy two files from "folder" and "folder2" on to another drive.(the drive is not a cd-rom)

copy /y "C:\folder\1.txt"+"C:\folder2\2.txt" E:\system\

thanx in advance

djas



Sponsored Link
Ads by Google

Response Number 1
Name: wizard-fred
Date: September 25, 2004 at 15:49:17 Pacific
Reply:

1. Using the + concatenates the files. (Adds together)
2. Using the + requires a destination file name.

For 9x/DOS not sure about XP.

If you want to copy individual files they must be done separately.


0

Response Number 2
Name: djas
Date: September 25, 2004 at 16:25:01 Pacific
Reply:

thanx for your help but i changed my file around so it works differently to the way i specified before.
thanx again

djas


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


set /a 09 no go in NT bat... re: converting char array...



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: .bat copy probs

.bat program to copy recursively www.computing.net/answers/programming/bat-program-to-copy-recursively/15545.html

Bat Copy Files - Skip Open Ones? www.computing.net/answers/programming/bat-copy-files-skip-open-ones/14014.html

Win2k batch: copy only new files? www.computing.net/answers/programming/win2k-batch-copy-only-new-files/10386.html