Run batch file from usb flash when it's connected to pc

1.1k views Asked by At

i need a method for executing a batch file or a .exe file from usb flash right after it's connected to pc. the batch file or .exe file will copy another file (which is in the flash too) to a folder in pc

i tried autorun.inf but neither batch file or .exe file run after plug in .

is there any way for doing this ??

thanks in advance MA

1

There are 1 answers

2
Lance On

For security reasons, this feature has been disabled for several years now.

There is no way to get this to work anymore.