Skip navigation

How can I copy more than one file specification at a time from the command prompt?

A. You typically use the copy command to copy one file specification at a time. For example,

copy *.log d:\temp
copy *.tmp d:\temp

To copy more than one file specification at a time, use the plus symbol (+) between file specifications. For example,

copy *.log + *.tmp d:\temp 
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish