Jump to content

Autorun with several Options


Recommended Posts

Posted

Im been trying to create a autorun.inf with several execute options, but I can't get it to work.

I found this code exampel on Wikipedia.org, but I can't get it to work. Any tips?

[autorun]
open=foo.exe bar
;ShellExecute=index.html
icon=foobar.ico
shell\configure=&Configure...
shell\configure\command=setup.exe
shell\install=&Install...
shell\install\command=setup.exe
Shell\Option1=Text1
Shell\Option1\Command=option1.exe
Shell\Option2=Text2
Shell\Option2\Command=option2.bat
label=My backup data

This example with one option works fine for me...

[AutoRun]
open=KeePass\KeePassPortable.exe
icon=KeePass\KeePassPortable.exe,0
action=Launch KeePass
shell\KeePass=Launch KeePass
shell\KeePass\command=KeePass\KeePassPortable.exe


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...