Xcopy command: options

Xcopy is a console mode command for the Windows operating system. It is used to copy one or several files and (or) folders from one place to another. She is also a team of the MS-DOS operating system. With many options and the ability to copy entire directories, xcopy is similar to traditional copy, but it has much more features. If even more functionality is required, then the operating system has the robocopy command, which operates with even more parameters.

Syntax

The command line format is as follows:

xcopy [] [/a] [/b] [/c] [/d [:]] [/e] [/f] [/g] [/h] [/i] [/j] [/k] [/l] [/m] [/n] [/o] [/p] [/q] [/r] [/s] [/t] [/u] [/v] [/w] [/x] [/y] [/-y] [/z][/exclude:file1[+file2][+file3]...] [/?]

, . xcopy. , .

, , , , . , , xcopy. , .

xcopy examples




/a

, . /a /m .





/b

, , . Windows Vista.

/

xcopy .

/d [: ]

xcopy /d MM-- , . , , . .

/

/s /s, , . /e /t. , , , .

copy files




/f

.

/g

xcopy , , . EFS- .





/h

Xcopy , .

/i

, xcopy , . , , , , .

/j

. . xcopy Windows 7.

/k

, , .

/l

xcopy , , . . xcopy.

xcopy team




/m

/a, . , , . /m /a .

/n

, . , , FAT, .

/

(ACL) .

/

.

/q

/f. xcopy «» , .

file name




/r

, , . , Access denied (« ») xcopy .

/s

. .

/t

xcopy , . , , , , . .

/u

, .

/v

. xcopy, Windows XP, Windows MS-DOS.

folder with files




/w

“Press any key when ready to being copying file(s)” (« , ()»). xcopy . /p, .

/

(SACL). /x, /o.

/y

, xcopy , . , /-y . , xcopy , /y COPYCMD, .

/z

xcopy , , , . .

xcopy options




/exclude: file1 [+file2] [+file3]

, , xcopy .

/?

. xcopy /? help xcopy. , , .

  • xcopy C:\Files E:\Files /i

, C:\Files, , Files [/i] E. , , , /s.

  • xcopy "C: \Important files " D:\Backup /c /d /e /h /i /k /q /r /s /x /y

. , . , . .

, xcopy [/s], , [/d], [/] [/h], C: \Important files D:\Backup, [/i]. , , , [/r] [/k]. [/x]. , xcopy , [q], [/y]. [/c].

command line format




  • xcopy C:\ "\\SERVER\ " /f /j /s /w /z

xcopy , [/], “C:\” “ ”, SERVER. , [/j], , [/z]. , xcopy - [/w], , [/f].

  • xcopy C:\Client032 C: \Client033 /t /e

C: \Client032. Client033 , , [/t], . , C:\Client032 , , , [/e].

Windows, Windows 8, 7, Vista, XP, 98 . . xcopy MS-DOS. , .

Windows 98 95 2 : xcopy xcopy32. . xcopy Windows 95 98 16- ( MS-DOS), 32- ( Windows). , , , xcopy, xcopy32, . .




All Articles