0% found this document useful (0 votes)
64 views

How To Copy Files in Command Prompt - 2 Steps

This document provides instructions for copying files using the command prompt in Windows. It outlines two main steps: 1) Open the Command Prompt application. 2) Enter the COPY command along with the full file path for the source file and destination folder. For example, to copy a file from C:\Folder1 to the desktop you would use "copy C:\Folder1\CopyMe.exe C:\Users\YourUsername\Desktop\". It also provides tips on appending multiple files into one and using wildcards to copy all files from a folder.

Uploaded by

dulisha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views

How To Copy Files in Command Prompt - 2 Steps

This document provides instructions for copying files using the command prompt in Windows. It outlines two main steps: 1) Open the Command Prompt application. 2) Enter the COPY command along with the full file path for the source file and destination folder. For example, to copy a file from C:\Folder1 to the desktop you would use "copy C:\Folder1\CopyMe.exe C:\Users\YourUsername\Desktop\". It also provides tips on appending multiple files into one and using wildcards to copy all files from a folder.

Uploaded by

dulisha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

How to Copy Files in Command Prompt: 2 Steps (with Pictures) http://www.wikihow.

com/Copy-Files-in-Command-Prompt

How to Copy Files in Command Prompt


If you are having difficulties moving or copying a file from within W indows you
can follow these steps to attempt a Command line copy of the file.

Steps

1 Open an Command Prompt window.

Press the Windows+R keys on the keyboard and type in "cmd" or go to


Start>All Programs>Accessories>Command Prompt

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

You might also like