

h: Copies files with hidden and system file attributes. Setzt man den Befehl xcopy /e /c, so werden mit dem.īy default, xcopy removes the read-only attribute. xcopy /s dagegen kopiert nur Verzeichnisse die nicht leer sind. if you're just copying one single file, either one will suffice Mittels xcopy /e werden alle Unterverzeichnisse kopiert, egal ob leer oder nicht. copy file1 + file2 file3Ĭopy does a shallow copy (doesn't recurse into sub directories) while xcopy has the option to do a rescursive copy which will copy all files and subfolders within the target folder that you are copying.

Since we have Windows and rescue CDs, that isn't really an issue anymore. This means that xcopy might not be present on another machine or a rescue disk. xcopy is an external program, while copy is part of the interpreter ( cmd.exe, ). It is used for moving files, directories, and even entire drives from one location to another. Xcopy command is an advanced version of the copy command. By using COPY keyword you can copy the files and folder from source to destination easily. It is an internal command which supports all versions of Windows OS such as Win 7, Win XP, Win server 2003, Win 8, and Win server 2008. Copy command used to copy the files from one location to another.
