Sunday, October 7, 2007

DOS: Using the COPY and DISK COPYcommands

The COPY command is used to copy one or more files from one disk to another. It allows the user to make an additional copy of a given fie on the same disk but with a different file name.
TYPE: Internal
FORMAT: COPY [d:] filespec [d:] [filename [.ext]]
*The user can copy files from any directory to any other, HOWEVER, both the source and target directories must be unambiguously specified as we did above when were were moving and creating directories.

The DISKCOPY command allows the user to copy one diskette onto another. DISKCOPY makes an exact copy of the source disk on the target disk.
TYPE: External
FORMAT: DISKCOPY [d:] [d:]

No comments: