How To Copy Files in Command Prompt - 2 Steps
How To Copy Files in Command Prompt - 2 Steps
com/Copy-Files-in-Command-Prompt
Steps
2 Type into the terminal window, which normally has a black background, the
copy command.
For this you will have to know at least 2 things: The full path to the file and the
full path of the folder you want to copy it to. If the file was C:\Folder1
\CopyMe.exe and you wanted to copy it to your desktop (C:\Users
\YourUsername\Desktop\) you would enter the command "copy C:\Folder1
\CopyMe.exe C:\Users\YourUsername\Desktop\" without the quotes.
Note* If your path has spaces in it you will need to close that path with
quotations or the command will see the space as an end to the current section
of information. Example: "C:\Users\Your Username\Desktop\"
Tips
To append files to one another you can specify multiple source files
with one destination file. Example: "copy c:\texts
\part1.txt+part2.txt+part3.txt" would combine the contents of all three
files into the file part1.txt
1 of 2 18.6.2015 12:44
How to Copy Files in Command Prompt: 2 Steps (with Pictures) http://www.wikihow.com/Copy-Files-in-Command-Prompt
The proper format of a copy command is: COPY [/A | /B] source [/A |
/B] [+ source [/A | /B] [+ ...]] [destination] [/A | /B]] [/V] [/Y | /-Y]
source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
destination Specifies the directory and/or filename for the new
file(s).
/V Verifies that new files are written correctly.
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an existing
destination file.
To copy all files you can use a * wildcard character such as "copy
c:\Folder1\*.* c:\temp\". This will copy all files from C:\Folder1 to
C:\temp\
2 of 2 18.6.2015 12:44