Skip to Main Content
Article navigation

Sometimes I wish that the DOS COPY command (or the DIR command) would accept multiple arguments. For instance, how do I copy all the .EXE files and all the .COM files from the current directory to drive A? One way is to use COPY *.EXE A:, then COPY *.COM A:. Here's a way to do the job with just one command. At the DOS prompt, type:

This content is only available via PDF.
You do not currently have access to this content.
Don't already have an account? Register

Purchased this content as a guest? Enter your email address to restore access.

Please enter valid email address.
Email address must be 94 characters or fewer.
Pay-Per-View Access
$39.00
Rental

or Create an Account

Close Modal
Close Modal