Tom's Guide | Tom's Hardware | Tom's Games | PC Safety Suite
![]() |
![]() |
![]() |
Comment:
Im trying to program an autorun.inf that installs a program when i insert my USB automatically. The problem is that it asks if you want to install it.. is there any way on how to avoid sthat? or automatically say yes??
+1 | ![]() |
nickcorin, seems to me you could use an if/then/else statement to evaluate the query string and see if it's the question and take the appropriate action.
HTH.
Ed in Texas.
+1 | ![]() |
Hi nickcorin ...
form a long time and I'm looking for an autorun.inf that installs a program when i insert my USB automatically.
Can u give me the secript of autorun.inf that can run ((eat.exe) for e.g)in drive F (F is my UsB
+1 | ![]() |
hi raygate, what you need is the .exe file (eat.exe) in the drive then have a autorun.inf file with the following code:
[autorun]
open=eat.exe
icon=icons/drive.ico
shellexecute=eat.exe
action= Install Program on USBthen when you insert your USB, the autoplay menu should come up and the option saying "Instatll Program on USB" will activate the autorun,a you can customize the text and the icon. Please be aware that this code will makeh your USB icon unknown unless you haven a .ico file in a folder called icons on your USB too.
![]() |
Macro to delete rows
|
Playing wmv movies in win...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.