XCOPY
From Wikipedia, the free encyclopedia
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 |
[edit] 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
[edit] 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]
[edit] 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.
[edit] See also
[edit] References
- ^ "Windows NT File System Files". Microsoft Help and Support. Microsoft. 2006-11-01. http://support.microsoft.com/?scid=kb;en-us;100012.
- ^ Pietrek, Matt (2007-01-16). "Robocopy built into Vista". Under The Hood (an MSDN blog). http://blogs.msdn.com/matt_pietrek/archive/2007/01/16/robocopy-built-into-vista.aspx.
[edit] External links
- Microsoft TechNet Xcopy article
- VariableGHz article depicting CRC errors and XCOPY as a solution
- XCOPY Command in a post build event does not execute
- XP_CMDSHELL Does Not Work with XCOPY
|
|||||||||||||||||||||||||||||
| This computer science article is a stub. You can help Wikipedia by expanding it. |

