Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2004-04-30
2
Medium Priority
?
1,193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 total points
ID: 10960588
This works pretty well!

[autorun]
shellexecute=1.vbs
0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

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!    …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

715 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