XCOPY

This MedLibrary.org supplementary page on XCOPY is provided directly from the open source Wikipedia as a service to our readers. Please see the note below on authorship of this content, as well as the Wikipedia usage guidelines. To search for other content from our encyclopedia supplement, please use the form below:

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 IBM OS/2 and 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, including any files or subdirectories having the "hidden" or "system" attributes and empty directories.

xcopy e:\existing e:\newcopy /s /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

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

  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

Wikipedia content modification information:

  • This page was last modified on 17 November 2008, at 12:57.

Wikipedia Authorship and Review

Wikipedia content provided here is not reviewed directly by MedLibrary.org. Wikipedia content is authored by an open community of volunteers and is not produced by or in any way affiliated with MedLibrary.org.

Wikipedia Usage Guidelines

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article on "XCOPY".

The URL for this specific entry is:

All Wikipedia text is available under the terms of the GNU Free Documentation License. (See Copyrights for details). Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.