Microsoft Windows XP Professional Administrators Guide
Copies one or more files.
Syntax
copy [/d] [/v] [/n] [/y | /-y] [/z] [/a | /b] source [/a | /b] [+ source [/a | /b] [+ …]] [destination [/a | /b]
| Parameters | |
|---|---|
| | |
| Parameter | Purpose |
| | |
| [/d] | Permits encrypted files to be copied and saved as decrypted files. |
| [/v] | Verifies the success of the copy operation. |
| [/n] | Uses a short file name as the destination file's new file name. |
| [/y] | Suppresses any confirmation prompts. |
| [/−y] | Displays confirmation prompts. |
| Parameter | Purpose |
|---|---|
| | |
| [/z] | Turns on a restartable mode before copying network files so that if network connectivity is lost, the copy operation will resume when connectivity is re-established. |
| [/a] | Identifies the file as an ASCII text file. |
| [/b] | Identifies the file as a binary file. |
| source | Specifies the file name of a file or set of files to be copied. |
| destination | Specifies the name and destination where the file is to be copied. |