Link to home
Start Free TrialLog in
Avatar of btomkins
btomkins

asked on

autorun.inf wont run vbs script to view htm page from cd

On other autorun.inf related questions on this site there has been put forward the solution of writing a vbs script to be called from the autorun.inf on a cd, so as to get iexplore index.htm to run. Im unable to get this solution to work on XP pro.
(runie.vbs)
dim sh
set sh =CreateObject("WSCript.shell")
sh.run "index.htm"

(autorun.inf)
open=runie.vbs

Any ideas. I dont want to write a program.
Avatar of sramesh2k
sramesh2k
Flag of India image

If only a file name is specified, it must be in drive's root directory.

Second, try this format:

OPEN=WScript.exe runie.vbs
ASKER CERTIFIED SOLUTION
Avatar of sramesh2k
sramesh2k
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial