This article is a guide that lets you copy pen drive contents automatically as soon as insert it into the USB port of PC. You do not need a software to do this. This can be done by using some DOS commands
Copy Pen Drive Contents Automatically
Yes you can copy the files of a pen drive into your PC as you insert it into your PC. If you follow these steps then you can follow these steps & use these DOS commands.
Follow the steps to copy pen drive contents automatically
- Open Command Prompt.
- Type copy con filename.bat.
- Now type “xcopy i: f:\copied /h /s /c /q /i” remove ” “
- Type exit
- Now press f6 & a file name filename.bat will be created.
xcopy is the command to copy the pen drive contents.
i :- The letter assigned to your en drive with name of pen drive.
f:\copied /h /s /c /q /i :- the location of your PC where you can copy the files in hidden mode.
/h It is used to copy the hidden files in the pen drive.
Now copy the filename.bat file into your desktop. After all , as you will insert a pen drive in your PC, all the contents of your pen drive will be copied in your PC’s location in the path you specified.
Hope you like the information. Please write a comment if you like the information or have any doubt in any thing. Like us on Facebook or Subscribe us to get all the daily updates from us. Thank You.