Is it possible that when we insert our USB FlashDrive it will automatically run the set-up just like in the CD-ROM? If yes could somebody tell me how?
Thanks!
Printable View
Is it possible that when we insert our USB FlashDrive it will automatically run the set-up just like in the CD-ROM? If yes could somebody tell me how?
Thanks!
I don't know if flashdrives allow auto-run, if they do I expect it will work in the same way that CD-Rom's do, by using an AutoRun.ini file.
Actually its "autorun.inf" ;)
Basic contents....
Code:[AutoRun]
OPEN=MyProgram.exe
ICON=Images\SomeIcon.ico
it doesnt work for flash drives... CD roms only at this point.
There must be something for USB drives though? When you stick one in it opens to that drive in Explorer.
You can download the PowerToy called TweakUI that allows AutoPlay for removeable drives.
I wish to do it my own way... :) Any other suggestions?
Correction - It works with Windows XP and flash drives
actually there is no longer a way to run it right away, but there is a way to create an option to autorun a program on the Option Select screen
try that:DCode:[autorun]
action= Run Blah
icon=blah.exe
open=blah.exe