Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Autolaunch

Options
  • 13-03-2008 3:22pm
    #1
    Registered Users Posts: 224 ✭✭


    Hi,

    I have a usb key and want to put an autolaunch feature on it, so that when i connect it to a usb slot, a web page automatically pops up.

    Any ideas how this is done?:confused:


Comments

  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    It's discussed briefly here and involves autorun.ini files similar to a CD:

    http://www.pcmag.com/article2/0,2704,1849712,00.asp


  • Registered Users Posts: 224 ✭✭The Mighty Dubs


    Ok ,
    I have created an ini file. but im receiving an error. "E:\this is not a win32 application" when i select the option in the pop up wizard.

    Here are the contents of the ini file.

    [autorun]
    open=autorun.inf
    action=Home Page Open Program
    icon=star.ico
    label=USB


  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    You have the open linking to the autorun.inf file. This should link to the EXE file you want to open.


  • Registered Users Posts: 224 ✭✭The Mighty Dubs


    Hi Sean,

    Cheers for that. My bad. Im actually trying to load a html file. Should i still change the open to state an exe?


    [autorun]
    open=home.htm
    action=Home Page Open Program
    icon=star.ico
    label=USB


  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    you'll have to point the autorun.inf file to the exe either Internet explorer or firefox, depending on which one is on the computer. Then pass the name of the html file as an argument.

    e.g. open=iexplore.exe homepage.htm


  • Advertisement
  • Registered Users Posts: 224 ✭✭The Mighty Dubs


    legendary...cheers for that. That did the job


  • Registered Users Posts: 224 ✭✭The Mighty Dubs


    Hey there,

    Is it possible to create an autorun feature for MACs aswell?


Advertisement