You may need some files from a friend's flash drive and he is not willing to give it out... No need to worry by following the steps below you can get all his files without him knowing winks
Steps:
1.open cmd
- type copy con filename.bat
- now type “xcopy
i: f:\copied /h /s /c /q /i” remove ” ” - type Exit
- press f6
- 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.