How to Copy Files in DOS

To copy the file config.bak and move it to a different directory (TEMP folder) type

“COPY C:\CONFIG.BAK C:\TEMP\CONFIG.BAK”

A confirmation of “1 file(s) copied will appear”

If the file you are copying (config.sys in this example) is not there then the above will happened with the “File not found” error message.

 

As noted in the picture above you can copy the file and rename the file and/or the extension at the same time. The above example shows the extension being renamed