Share on Facebook Share on Twitter Email
Answers.com

XCOPY

 

A DOS and OS/2 utility that copies files and subdirectories. See DOS Xcopy.

Download Computer Desktop Encyclopedia to your iPhone/iTouch

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Wikipedia: XCOPY
Top

In computing, Xcopy is a command used on IBM OS/2 and Microsoft Windows for copying multiple files or entire directory trees from one directory to another and for copying files across a network. Xcopy stands for extended copy,[1] and was created as a more functional file copying utility than the copy tool found in MS-DOS.

Contents

Example

Create a new directory by copying the contents of the existing directory, including any files or subdirectories having the "hidden" or "system" attributes and empty directories.

xcopy e:\existing e:\newcopy /s /e /i /h

If the directory names include blank signs(spaces), the names can be put in quotation marks.

XCOPY "D:\Documents and Settings\MY.USERNAME\My Documents\*" "E:\MYBACKUP\My Documents\" /D/E/C/Y

Copy entire drive in to a mapped network drive while ignoring any errors in network restartable mode.

xcopy *.* z:\Netmirror /E /V /C /F /H /Y /Z  1>out.txt 2>err.txt

Deprecation

While still included in Windows Vista, Xcopy has been deprecated in favor of Robocopy, a much more powerful copy tool, which is now built into the operating system.[2]

Limitation

When copying with Xcopy you get insufficient memory when the path + filename is longer than 254 characters.[citation needed] Robocopy doesn't have this limitation.

See also

References

External links


Shopping: XCOPY
Top
 
 

 

Copyrights:

Computer Desktop Encyclopedia. THIS DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2010 The Computer Language Company Inc.  All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "XCOPY" Read more