Jump to content

Recommended Posts

Posted

I would like to put the CD/DVD in the CD/DVD Rom Drive and have the wpi.hta file open automatically. I've added the "autorun.ini" file, but that just opens the CD, it does not execute the wpi.hta file


Posted

Yeah, autorun won't work with an .hta file. You're going to need a tool like Tarma Software's AutoRun.exe to make it happen. My AUTORUN.INF file looks like this:

[autorun]
open=autorun.exe -q2 -x -w wpi\WPI.hta
icon=wpi.ico

[autorun.tarma]
run1=AutoIt3.exe finish.au3
run2=AutoIt3.exe eject.au3

Posted some comments on Tarma's tool (including a like to the Tarma site but you could as easily Google it) in the WPI forum awhile back, you may want to search there.

Posted (edited)
No wonder mine didn't work. All I had is:

[AutoRun]

ShellExecute=wpi.hta

ICON=WPI.ICO

I'll give your tip a go. Thanks!

[AutoRun]
ShellExecute=WPI2\wpi.hta
ICON=xp.ICO

Mine points to a 2nd WPI.hta , and works fine like this.

Edited by muiz
  • 3 years later...
Posted
No wonder mine didn't work. All I had is:

[AutoRun]

ShellExecute=wpi.hta

ICON=WPI.ICO

I'll give your tip a go. Thanks!

[AutoRun]
ShellExecute=WPI2\wpi.hta
ICON=xp.ICO

Mine points to a 2nd WPI.hta , and works fine like this.

i use this trick but mine is not work...???help please

Posted

Have you tried making a BAT/CMD that STARTS the hta and point AUTORUN to it? This is the way the UBCD98SE did it (no more info on that can be found here any more).

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...