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
Solved

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

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Running VB6 Apps on Windows 7 4 144
Virtual PC for Windows 10 18 254
Windows XP - Change Motherboard CPU and RAM infinite restart 19 113
Event ID 1054 Userenv 2 33
Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
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…

839 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