Solved

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

Posted on 2004-04-30
2
1,174 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

18 Experts available now in Live!

Get 1:1 Help Now