blksith0 Posted May 7, 2010 Share Posted May 7, 2010 (edited) Hey so I have a U3 drive, and I have a file that I want to run when I plug it in, without the windows autorun dialogue, so I want it on the U3 fake cd-rom partition. Anyway, need some help. Thanks. Edited May 7, 2010 by blksith0 Quote Link to comment Share on other sites More sharing options...
Djhg2K Posted May 7, 2010 Share Posted May 7, 2010 (edited) Hey so I have a U3 drive, and I have a file that I want to run when I plug it in, without the windows autorun dialogue, so I want it on the U3 fake cd-rom partition. Anyway, need some help. Thanks. Sounds to me like a simple case of a custom autorun.inf file and some ISO creator. Maybe something like this: 1. Create your autorun.inf file [AutoRun] open=myapplication.exe If it isn't an executable file you might need to use the "shellexecute=" option instead of "open=", at least judging from the msdn article here. 2. Use some ISO creator/editor, such as WinISO, isomaster or genisoimage, and put your autorun.inf file and your other file in the root directory (often refered to as the top directory). 3. Apply the generated .iso file to your U3 stick using U3 Customizer or u3-tool. I've tried to keep the steps Linux-friendly for people like me who use it as the primary OS :) . Legend: GUI - Windows GUI - Linux CLI - Linux CLI - Multi-platform Edited May 7, 2010 by Djhg2K Quote Link to comment Share on other sites More sharing options...
blksith0 Posted May 11, 2010 Author Share Posted May 11, 2010 Im confused, I need a guide. I have the file, and I need it to execute on my U3 drive. I already disabled the u3 so its a normal drive now. HELP. :D Quote Link to comment Share on other sites More sharing options...
sablefoxx Posted May 12, 2010 Share Posted May 12, 2010 What kinda file? .exe, .bat, etc? Quote Link to comment Share on other sites More sharing options...
blksith0 Posted January 16, 2011 Author Share Posted January 16, 2011 Forget that, now I want to copy a file from a computer to my flash drive automatically. And I know how to do this, except that I cant have that Windows autorun dialogue pop up. So my first thought was to just make the entire a thing a CD partition, however, the files would need some place to go, so that would've work. But then what if I make a little vbs script that it runs, and it automatically kills the process for that autorun dialogue? (rundll32 I believe) Anyway, just wondering if that would work. I totally forgot how to make the U3 drives do what I want, so Ill have to go back and read some guides again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.