• Skip to main content
  • Skip to primary sidebar
  • Business
  • WordPress
  • Security
  • Marketing
  • Publicity
  • Computing
  • Resources
  • Whatevs

Purely Computing

Software, PCs, Macs, Consoles, Handhelds, & More

  • Home
  • About
  • Contact
  • Contribute

Copy files to another location in DOS

MS Dos Window

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.

by Jack Alltrade on February 19, 2025

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

Categories

  • Command Prompt
  • Computing
  • DOS
  • Hardware
  • Software
  • Tech Terms
  • Windows

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