COPY, DISKCOPY and XCOPY DOS commands
MS-DOS includes several commands for copying data. DISKCOPY was used primarily used for copying floppy disks, both formatting and copying can be achieved by the command. DISKCOPY however tries to make an identical copy of the data sector by sector, which will result in an unsuccessful copy if their are any bad sectors present on the destination disk.
The XCOPY command differs from the COPY command in that it allows you to copy folders, directories and files. It also buffers the copying which makes it much better for network copying. XCOPY also includes more switches relating to archiving, setting read-only attributes, copying system files, and the ability to copy files modified after a specified date.
All the required switches can be found from each tools help command by typing the command followed by /?.
E.G. COPY /?

0 Comments:
Post a Comment
<< Home