Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xcopy is not completing

Status
Not open for further replies.

JerryUSA

MIS
Aug 20, 2002
29
US
I'm stuck on an xcopy script that is copying some of my files but not all. I'm running nt4
The file are erroring with "Invalid parameters"
my script looks like this
xcopy f:\hr \\Ch223-4a\Storage /D
xcopy f:\Program Files\Best Software\Abra Suite\Programs\Data \\Ch223-4a\Storage /s /d
xcopy f:\Program Files\Best Software\Abra Suite\Programs\PICTURES \\Ch223-4a\Storage /s /d
xcopy f:\Program Files\Best Software\Abra Suite\Programs\RRW \\Ch223-4a\Storage
xcopy e:\ \\Ch223-4a\Storage /s /D
The first line runs good and the last one runs good but the 3 in the middle give me that "invalid parameters" error. It might be too long. Not sure. but I do not need all files inside the program folder, just those 3.Any help would be Great!! Thanks, Http:\\"It's the 21st Century I was promised a flying car! Where is my flying car?"
[afro]
 
try putting quotes round the "f:\Program Files\Best Software\Abra Suite\Programs\blah" entries - as they contain spaces?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top