Monday, August 12, 2013

HOW TO COPY PENDRIVE OR DVD AUTOMATICALLY

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

here
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 pen drive into your system then click on this file his data is automatically copied into the folder specified by you.

No comments:

Post a Comment