Tim Fisher has an ext than 30 years' the professional an innovation experience. He's been writing about tech for an ext than two decades and also serves as the VP and General Manager of occupychristmas.org.

You are watching: What command is intended to replace the xcopy command?


The xcopy command is a Command prompt command provided to copy one or much more files or folders native one ar to another location.


With that is many options and capability to copy entire directories, it\"s similar to, however much much more powerful than, the copy command. The robocopy command is also similar but has actually even more options.


\"*\"

Miguel Co / occupychristmas.org

Xcopy Command ease of access

This command is available from in ~ the Command notice in all windows operating systems consisting of Windows 10, home windows 8, home windows 7, home windows Vista, home windows XP, windows 98, etc. See just how to open Command note if you require help.



The access of details xcopy command switches and other command syntax might differ from operating system to operation system. See just how to check out Command Syntax if you\"re no sure how to review the syntax above or in the table below.


Xcopy Command Options
ItemDescription
sourceThis specifies the records or height level folder the you want to copy from. The source is the only forced parameter. Usage quotes approximately source if it contains spaces.
destinationThis option specifies the ar where the source records or folders have to be duplicated to. If no destination is listed, the files or folders will certainly be duplicated to the very same folder you operation the xcopy command from. Use quotes about destination if it contains spaces.
/aUsing this alternative will only copy save on computer files discovered in source. You deserve to not use /a and /m together.
/bUse this alternative to copy the symbolic connect itself instead of the connect target. This choice was an initial available in home windows Vista.
/cThis option pressures xcopy to continue even if that encounters an error.
/d <:date>Use the command through /d option and also a specific date, in MM-DD-YYYY format, come copy files readjusted on or after that date. Girlfriend can additionally use this alternative without specifying a particular date come copy only those documents in source the are more recent than the same papers that currently exist in destination. This is helpful when utilizing xcopy to carry out regular file backups.
/eWhen offered alone or with /s, this option is the same as /s however will additionally create north folders in destination that were likewise empty in source. The /e alternative can likewise be used together with the /t choice to encompass empty directories and also subdirectories found in source in the directory structure developed in destination.
/fThis alternative will screen the full path and document name of both the source and destination documents being copied.
/gUsing xcopy with this option permits you come copy encrypted papers in source to a destination that does not support encryption. This alternative will not occupational when copying papers from an EFS encrypted journey to a non-EFS encrypted drive.
/hThe command doesn\"t copy hidden files or system records by default yet will when using this option.
/iUse the /i choice to force xcopy come assume the destination is a directory. If girlfriend don\"t usage this option, and you\"re copying from source that is a magazine or group of files and also copying to destination the doesn\"t exist, the xcopy command will prompt you go into whether destination is a paper or directory.
/jThis option copies files there is no buffering, a feature helpful for very large files. This alternative was an initial available in home windows 7.
/kUse this option once copying read-only documents to maintain that record attribute in destination.
/lUse this option to present a list of the files and also folders to it is in copied... However no copying is in reality done. The /l option is valuable if you\"re building a complicated command v several alternatives and you\"d favor to see how it would duty hypothetically.
/mThis alternative is the same to the /a option but xcopy will revolve off the save attribute after copying the file. You deserve to not usage /m and /a together.
/nThis choice creates files and folders in destination utilizing short record names. This option is only beneficial when you\"re using the command come copy files to a destination the exists on an drive formatted come an older file system like FAT the does not support long document names.
/oRetains property and access Control list (ACL) info in the files written in destination.
/pWhen using this option, you\"ll be prompted prior to the production of each record in destination.
/qA sort of opposite of the /f option, the /q move will put xcopy into \"quiet\" mode, skip the on-screen display screen of each record being copied.
/rUse this alternative to overwrite read-only records in destination. If friend don\"t usage this option once you want to overwrite a read-only document in destination, you\"ll be prompted with one \"Access denied\" message and the command will protect against running.
/sUse this alternative to copy directories, subdirectories, and also the files included within them, in addition to the papers in the root of source. Empty folders will not it is in recreated.
/tThis option forces the xcopy command to create a catalog structure in destination yet not to copy any kind of of the files. In other words, the folders and subfolders uncovered in source will certainly be created however there us be no files. Empty folders will not be created.
/uThis alternative will just copy papers in source the are already in destination.
/vThis alternative verifies each record as it\"s written, based upon its size, to make sure they\"re identical. Confirmation was constructed in to the command beginning in home windows XP, so this alternative does nothing in later on versions of Windows and is only consisted of for compatibility with older MS-DOS files.
/wUse the /w alternative to present a \"Press any vital when ready to being copying file(s)\" message. The command will start copying records as instructed after girlfriend confirm through a key press. This alternative is no the exact same as the /p option which asks for verification before each paper copy.
/xThis alternative copies document audit settings and System access Control perform (SACL) information. You imply /o as soon as you usage the /x option.
/yUse this alternative to protect against the command native prompting you about overwriting papers from source that currently exist in destination.
/-yUse this alternative to pressure the command come prompt you about overwriting files. This might seem favor a strange alternative to exist because this is the default behavior of xcopy yet the /y option may be preset in the COPYCMD setting variable on part computers, do this option necessary.
/zThis option enables the xcopy command come safely prevent copying papers when a network connection is lost and then resume copying from wherein it left off as soon as the connection is reestablished. This option likewise shows the percentage replicated for each record during the copy process.
/exclude:file1<+file2><+file3>...This option enables you to specify one or an ext file name containing a perform of find strings you desire the command to usage to determine files and/or folders to skip once copying.

See more: How Do You Say Do You Like Me In Spanish (Colombia)? Do You Like Me

/?Use the help switch with xcopy come show thorough help around the command. Executing xcopy /? is the exact same as using the assist command come execute help xcopy.