How to copy an file to new usb using cmd?

windows1988

New Member
Messages
1
I manged to make a new smaller partition on a usb. Now I would like to copy a file from my C drive to that small partition on my usb. I want to do this in Command prompt (or Diskpart) only. Thanks in advance.
 
Last edited:
copy "X:\folder\filename.ext" "Y:\folder"

Obviously, substitute the generics above with your actual values, where X & Y are the driveletters for source & target.
Keep the quotation marks.
 
As a very old computer tech, etc. I have to ask one question,,,,"WHY?".
Almost daily I have to copy a file somewhere and I always use the "copy and paste", "Drag and Drop", or "Send To" functions of Windows. It's not necessary to use the cmd prompt, where you're actually using DOS.
And, you have to be very careful in typing out your command, or the results could be #%$&*.

Oh, I use DOS every day too, usually in the form of a DOS Batch File. I have a few maintenance routines that run every day on my own PC, and they ARE DOS Batch Files.

Good Luck Sir,
TM :cool:
 
Back
Top