Is there anyway to make a USB drive run a batch file when it opens? I tried putting an "autorun.inf" file into the root of the drive and it got the correct icon, but nothing happened when I opened the drive.
My autorun.inf file looked like this:
[autorun]
icon=\OTHER\icon.ico
open=\COMMANDS\opendrive.bat
action=Open drive to view files
shell\info=System Info
shell\info\command=\COMMANDS\start.bat
My autorun.inf file looked like this:
[autorun]
icon=\OTHER\icon.ico
open=\COMMANDS\opendrive.bat
action=Open drive to view files
shell\info=System Info
shell\info\command=\COMMANDS\start.bat