- XCOPY
In
computing , Xcopy is command used 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", [cite web |url=http://support.microsoft.com/?scid=kb;en-us;100012 |title=Windows NT File System Files |date=2006-11-01 |work=Microsoft Help and Support |publisher=Microsoft] and was created as a more functional file copying utility than the copy tool found inMS-DOS . Xcopy is also available onMicrosoft Windows .The command is analogous to the
Unix commandrsync (Unix)
.Example
Create a new directory by copying the contents of the existing directory, excluding any files or subdirectories having the "hidden" or "system" attributes. xcopy e:existing e: ewcopy /e /i /h
Deprecation
While still included in
Windows Vista , Xcopy has beendeprecated in favor ofRobocopy , which is now built into the operating system. [cite web |url=http://blogs.msdn.com/matt_pietrek/archive/2007/01/16/robocopy-built-into-vista.aspx |title=Robocopy built into Vista |last=Pietrek |first=Matt |authorlink=Matt Pietrek |date=2007-01-16 |work=Under The Hood (an MSDN blog)]Bug
When copying with Xcopy you get insufficient memory when the path + filename is longer than 254 characters. Robocopy doesn't have this limitation.
ee also
*
XCOPY deployment References
External links
* [http://technet.microsoft.com/en-us/library/bb491035.aspx Microsoft TechNet Xcopy article]
Wikimedia Foundation. 2010.