• Skip to main content
  • Skip to primary sidebar

Purely Supplemental Hub

Just The Tech, News, and Info We Deem To Post

  • WordPress
  • Marketing
  • Business
  • Computing
  • Security
  • Publicity
  • Resources
  • WHATEVS

Copy files to another location in DOS

Example: Copy and overwrite files from drive A: to C:\DOS in DOS 6.22, you can use the COPY command.

Here’s the basic syntax:

COPY A:\SOURCEFILE C:\DOS\DESTINATIONFILE

Replace SOURCEFILE with the name of the file you want to copy from drive A:, and replace DESTINATIONFILE with the name you want for the copied file on drive C:\DOS.

If you want to copy all files from drive A: to C:\DOS and overwrite existing files without prompting, you can use the /Y switch:

COPY A:\*.* C:\DOS\ /Y

This will copy all files from drive A: to C:\DOS and automatically overwrite any existing files with the same names without prompting you.

Please note that the /Y switch assumes you want to overwrite files without confirmation, so use it carefully to avoid unintentional data loss.

Filed Under: DOS Tagged With: Copy

Reader Interactions

Share Your Two Cents Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

© Copyright Jack Alltrade & Associates 2026 · Purely Supplemental™ is a trademark of Jack Alltrade & Associates