XCOPY

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire

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,[1] and was created as a more functional file copying utility than the copy tool found in MS-DOS. Xcopy is also available on Microsoft Windows.

The command is analogous to the Unix command rsync (Unix).

Contents

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:\newcopy /e /i /h

Deprecation

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

Bug

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

See also

References

  1. ^ "Windows NT File System Files". Microsoft Help and Support. Microsoft (2006-11-01).
  2. ^ Pietrek, Matt (2007-01-16). "Robocopy built into Vista". Under The Hood (an MSDN blog).

External links

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net