Solved

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

Posted on 2004-04-30
2
1,170 Views
Last Modified: 2011-09-20
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.
0
Comment
Question by:btomkins
  • 2
2 Comments
 
LVL 34

Expert Comment

by:sramesh2k
ID: 10960500
If only a file name is specified, it must be in drive's root directory.

Second, try this format:

OPEN=WScript.exe runie.vbs
0
 
LVL 34

Accepted Solution

by:
sramesh2k earned 125 total points
ID: 10960588
This works pretty well!

[autorun]
shellexecute=1.vbs
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now