Computing.Net > Forums > Windows XP > Xcopy command

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.

Xcopy command

Reply to Message Icon

Name: jawdat
Date: December 21, 2002 at 23:43:35 Pacific
OS: XP
CPU/Ram: Intel P4, 1.60GHz, 128 MB
Comment:

I am tring to use xcopy command to copy folder with subfolders and files from my home directroy to somewhere else, but it doesn't work. It shows the following error: Invalid Number of Parameters. The same command string works fine if I copy form the root directory or from andy folder under the root directory.
I unchecked the Make my folder private check box, but nothing happens.
What could be the problem. I need to be able to copy folders with subfolders and files specifically from my Directory using a batch file.
This is a sample of the command I am using:
xcopy /D /C /S /E /V /Y C:\Documents and Settings\Jawdat Al Sadek\Favorites \\10.0.0.200\JAWDAT\Favorites.

Thank you



Sponsored Link
Ads by Google

Response Number 1
Name: ...
Date: December 22, 2002 at 00:35:18 Pacific
Reply:

type: xcopy /?

your /d parameter is incorrect
it should be: /d:m-d-y

and /s and /e are antagonistic...they do the opposite thing


0

Response Number 2
Name: firefox1986
Date: January 1, 2006 at 07:07:17 Pacific
Reply:

/D is correct
if no date is given, it copies the files whoes source time is newer than the destination time

you also need to enclose source and destination with quotation marks if it has spaces

xcopy /DCEVY "C:\Documents and Settings\Jawdat Al Sadek\Favorites" \\10.0.0.200\JAWDAT\Favorites


0

Sponsored Link
Ads by Google
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 Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Xcopy command

xcopy - avoiding invalid drive spec www.computing.net/answers/windows-xp/xcopy-avoiding-invalid-drive-spec/148994.html

xcopy not recognized www.computing.net/answers/windows-xp/xcopy-not-recognized/164994.html

XCOPY batch file www.computing.net/answers/windows-xp/xcopy-batch-file/99847.html