Error DataBase-One Place all Solutions Forums Blog Glossary    Contact Us
Search  
   
Browse by Category
Error DataBase-One Place all Solutions .: Operating Systems .: Windows Operating Systems .: Windows Scripts and Batch Files .: Using VBScript for CD Autorun

Using VBScript for CD Autorun

i found that starting a VBScript from an autorun.inf file caused an error so i used a batch file to start the vbscript.

Contents of Autorun.inf

[autorun]
OPEN=Autorun.bat

Contents of Autorun.bat

@ECHO off

start .\Autorun.vbs

exit

edit the file autorun.vbs as you see fit.


How helpful was this article to you?

Related Articles

article VBScript to ArchiveEventLogs
The ArchiveLogs WSH package file is a...

(No rating)  5-2-2008    Views: 92   
article Have the VBScript check to see if it is being run with CScript or WScript
Option ExplicitDim Script,...

(No rating)  3-24-2008    Views: 119   
article VBScript to List Network Shares
This script will interrogate the operating...

(No rating)  5-1-2008    Views: 138   

User Comments

Add Comment
No comments have been posted.