Thursday 30 June 2016

How to copy multiple files using CMD - Tutorial with pictures

If you want to copy multiple files with a single command using command prompt in windows, you should use this simple command.


There is a command line tool in windows called  Robust file copy. This tool have many features. This tool is present in windows vista or later. You can copy multiple files of multiple extensions using this command.

If you want to copy multiple files along with folders, then Click Here.

To copy multiple files in a single command, follow the below steps.

Firstly, you have to go to Command Prompt with Administrator privileges. Simply search for cmd in windows start menu search bar, There is a list having a "Command Prompt" or "cmd" is listed above, just right click on the name and select the option Run as Administrator.


Now type the command. The command syntax is as follows:
robocopy source\folder\ destination\folder\ file1.exe file2.bat file3.dll file4.txt
Here is an example in this screenshot.


If you have any query regarding this, you may comment below.


No comments :

Post a Comment