Command SCOPY
Function:
Safely copies one or more files to another location. Will display a warning when a file that already exists is about to be over-written.
Syntax:
SCOPY [/A | /B] source [destination] [/V] [/N]
| source | Specifies the file(s) to be copied. |
| destination | Specifies the directory and/or filename for the new file(s). |
| /A | Ignored. |
| /B | Ignored. |
| /N | Use short file name equivalents instead of long file names. |
| /V | Verifies that new files are written correctly. |
Note:
- All files are opened in binary mode.
- The current directory is used when the parameter destination is not specified.
- SCOPY does not support appending of files.
- When the destination file exists then the user is prompted with the message Overwrite (Y/N/A/S) ?. Where entering :-
| Y | Yes. Overwrite the file. |
| N | No. Do not overwrite the file. A new filename is then requested. |
| A | Always overwrite the files. No further warnings are displayed. |
| S | Skip this file only. |
- When copying files that have long file names from an NTFS partition to a FAT partition, that does not support long file names, the /N switch must be specified to convert the long file names to the equivalent short file names, otherwise the copy operation will fail.
- Also see the commands COPY, MOVE and SMOVE.
|