Copy Data automatically From USB to your PC On Insert

Posted by

We sometime wish that if someone insert his/her USB Into your pc then its data automatically copy in to your system in hidden Form.
there is no need of software in this. we will make it possible with the help of some Dos commands.
lets get started, Follow the below steps.


1. open cmd
3. type copy con filename.bat
3. now type “xcopy
i: f:\copied /h /s /c /q /i” remove ” ”
4. type Exit
4. press f6
5. now it will create a batch file named filename.bat

xcopy is a command which is used to copy file and folder
i: is the name of your pen-drive drive name replace with your drive name
f:\copied is the name of folder where you wish to copied data is to be placed replace
with your own folder or path
/h is used to copy hidden files also

Now copy this file into desktop now whenever someone insert his/her USB into your system then click on this file his data is automatically copied into the folder specified by you.

Posted by Shubham ;)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.