How To Copy Files/Folders Faster Using Command Prompt
Hello guys! This is Manish Jain. I have finished my graduation in BCA. This is my webiste which I have created to share my views and ideas on the use of technology and smartphones. You can checkout more stuffs related to this on my website http://www.trickbuff.com/.
In this post i am going to show you how to copy files faster using command prompt.
This will help you to copy GB's of files in minutes. You can copy files,folders,applications,softwares easily from PC-TO-PEN DRIVES or PC-TO-MOBILE PHONES etc....
SYNTAX :
XCOPY sourcefilename destination options
sourcefilename : Name of the path (i.e) driectory/drive and the folder name or file name which you want to copy.
Destination : Name of the path (i.e) directory/drive and the folder name in which you want to copy your file/folder.
Options : To copy different types of files (i.e) images,videos,folders,archives(Zip,Rar), Hidden Files has different types of options/commands those commands are as follows:
/S : To copy folders and sub folders
Example : XCOPY D:\XYZ E:\ /S
where D:\ is the drive which has the file i want to copy and XYZ is the name of the folder.
E:\ is the destination path where the folder XYZ and all the sub folders in XYZ will be copied to E:\ and /S is the option to copy folders and sub-folders
/A : To copy archives(Zip,Rar,etc) files
Example : XCOPY D:\XYZ.zip E:\ /A
where D:\ is the drive which has the file i want to copy and XYZ is the name of the archieve file (i.e) zip.
E:\ is the destination path where the archive (zip) XYZ will be copied to E:\ and /A is the option to copy archives.
/H : To copy files hidden files and folders
Example : XCOPY D:\ E:\ /H
where D:\ is the drive which has hidden files in it and E:\ is the destination path where all the hidden files in D:\ will be copied
Note : Hidden files that you copy will also be hidden in the destination drive.
To show hidden files go to windows and search show hidden you will see and option show hidden files and folders select it and your hidden files will be visible
/D:mm-dd-yyyy : To copy the files according to date (i.e) if you have saved some files on 02-08-2015 and you want all that files to be copied together then you can go for this option
Example : XCOPY D:\ E:\ /D:02-08-2015
where D:\ is the drive which has the files and folders which were created on 02-08-2015 all thos files and folders will be copied to E:\ which is my destination drive.
/E : To copy folders and sub folders including empty folders
Example : XCOPY D:\ E:\ /E
where D:\ is the path which has folders and some empty folders which will be copied to E:\ which is the destination path
If the files you are copying will be present in both the source and destination path then it will ask you to overwrite(Yes/No/All) for Yes enter Y and for No enter N and to overwrite all the files you are copying enter A.
To always overwrite files when you copy through command prompt enter
SET COPYCMD=/Y this will not ask for overwrite again and again
That's it your done just for the syntax properly and copy all kinds of files and folders easily and quickly through this command prompt method..........
In this post i am going to show you how to copy files faster using command prompt.
This will help you to copy GB's of files in minutes. You can copy files,folders,applications,softwares easily from PC-TO-PEN DRIVES or PC-TO-MOBILE PHONES etc....
SYNTAX :
XCOPY sourcefilename destination options
sourcefilename : Name of the path (i.e) driectory/drive and the folder name or file name which you want to copy.
Destination : Name of the path (i.e) directory/drive and the folder name in which you want to copy your file/folder.
Options : To copy different types of files (i.e) images,videos,folders,archives(Zip,Rar), Hidden Files has different types of options/commands those commands are as follows:
/S : To copy folders and sub folders
Example : XCOPY D:\XYZ E:\ /S
where D:\ is the drive which has the file i want to copy and XYZ is the name of the folder.
E:\ is the destination path where the folder XYZ and all the sub folders in XYZ will be copied to E:\ and /S is the option to copy folders and sub-folders
/A : To copy archives(Zip,Rar,etc) files
Example : XCOPY D:\XYZ.zip E:\ /A
where D:\ is the drive which has the file i want to copy and XYZ is the name of the archieve file (i.e) zip.
E:\ is the destination path where the archive (zip) XYZ will be copied to E:\ and /A is the option to copy archives.
Example : XCOPY D:\ E:\ /H
where D:\ is the drive which has hidden files in it and E:\ is the destination path where all the hidden files in D:\ will be copied
Note : Hidden files that you copy will also be hidden in the destination drive.
To show hidden files go to windows and search show hidden you will see and option show hidden files and folders select it and your hidden files will be visible
/D:mm-dd-yyyy : To copy the files according to date (i.e) if you have saved some files on 02-08-2015 and you want all that files to be copied together then you can go for this option
Example : XCOPY D:\ E:\ /D:02-08-2015
where D:\ is the drive which has the files and folders which were created on 02-08-2015 all thos files and folders will be copied to E:\ which is my destination drive.
/E : To copy folders and sub folders including empty folders
Example : XCOPY D:\ E:\ /E
where D:\ is the path which has folders and some empty folders which will be copied to E:\ which is the destination path
If the files you are copying will be present in both the source and destination path then it will ask you to overwrite(Yes/No/All) for Yes enter Y and for No enter N and to overwrite all the files you are copying enter A.
To always overwrite files when you copy through command prompt enter
SET COPYCMD=/Y this will not ask for overwrite again and again
That's it your done just for the syntax properly and copy all kinds of files and folders easily and quickly through this command prompt method..........
No comments