Concept

XCOPY

In computing, XCOPY is a command used on IBM PC DOS, MS-DOS, IBM OS/2, Microsoft Windows, FreeDOS, ReactOS, and related operating systems for copying multiple or entire directory trees from one to another and for copying files across a network. XCOPY stands for extended copy, and was created as a more functional file copying utility than the copy command found in earlier operating systems. XCOPY first appeared in DOS 3.2. While still included in Windows 10, XCOPY has been deprecated in favor of robocopy, a more powerful copy tool, which is now supplied with the Microsoft Windows Server and Desktop operating systems. DR DOS 6.0 and Datalight ROM-DOS include an implementation of the command. The FreeDOS version was developed by Rene Ableidinger and is licensed under the GPL. J. Edmeades developed the Wine-compatible version that is included in ReactOS. It is licensed under the LGPL. Since Windows Server 2019 and Windows 10, a compression option is available in xcopy when copying across a network. With this switch, if the destination computer supports SMB compression and the files being copied are very compressible, there may be significant improvements to performance. The SMB compression adds inline whitespace compression to file transfers. Compression is also available with the robocopy command and Hyper-V Live Migration with SMB. Create a new directory by copying all contents of the existing directory, including any files or subdirectories having the hidden or system attributes and empty directories.

xcopy e:\existing e:\newcopy /e /i /h If the pathnames include spaces, they must be enclosed 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 Copy a single file without prompt if it is a file or a directory cmd /c echo F | xcopy "c:\directory 1\myfile" "c:\directory 2\myfile" XCOPY fails with an "insufficient memory" error when the path plus filename is longer than 254 characters.

About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.
Related lectures (1)
Related concepts (7)
PowerShell
PowerShell is a task automation and configuration management program from Microsoft, consisting of a command-line shell and the associated scripting language. Initially a Windows component only, known as Windows PowerShell, it was made open-source and cross-platform on August 18, 2016, with the introduction of PowerShell Core. The former is built on the .NET Framework, the latter on .NET (previously .NET Core). Since Windows 10 build 14971, PowerShell replaced Command Prompt and became the default command shell for .
List of DOS commands
This article presents a list of commands used by DOS operating systems, especially as used on x86-based IBM PC compatibles (PCs). Other DOS operating systems are not part of the scope of this list. In DOS, many standard system commands were provided for common tasks such as listing files on a disk or moving files. Some commands were built into the command interpreter, others existed as external commands on disk. Over the several generations of DOS, commands were added for the additional functions of the operating system.
Copy (command)
In computing, copy is a command in various operating systems. The command s from one directory to another. Generally, the command copies files from one location to another. It is used to make copies of existing files, but can also be used to combine (concatenate) multiple files into target files. The destination defaults to the current working directory. If multiple source files are indicated, the destination must be a directory, or an error will result.
Show more

Graph Chatbot

Chat with Graph Search

Ask any question about EPFL courses, lectures, exercises, research, news, etc. or try the example questions below.

DISCLAIMER: The Graph Chatbot is not programmed to provide explicit or categorical answers to your questions. Rather, it transforms your questions into API requests that are distributed across the various IT services officially administered by EPFL. Its purpose is solely to collect and recommend relevant references to content that you can explore to help you answer your questions.