Avatar of dbadouraly
dbadouraly
 asked on

Batch File to load CD drive

Hello experts,
In our network autorun is disabled, however on some workstation we need to allow autorun to start when they insert a CD. is there a way to create a batch file to load the cd automatically and open the program? here the autorun.inf on the CD:

[AUTORUN]
OPEN=APPS\MIV2Cdr.exe /p=APPS\CONFIG.TXT
ICON=APPS\MIV2Cdr.exe,1
LABEL=Doe,John, 03-23-2011 03:27:41 AM
SHELL\VIEW\COMMAND=APPS\MIV2Cdr.exe /p=APPS\CONFIG.TXT
SHELL\VIEW=View Radiological Data

Thank you for your help.
Programming

Avatar of undefined
Last Comment
dbadouraly

8/22/2022 - Mon
Gerwin Jansen

How do you expect that this batch file will run? As autorun is disabled and you want some batch file to perform the 'autorun' function then you would either have to start that batch file after the CD is inserted or have the batch file run continuously, monitoring CD drives. What is it you require / expect?
ASKER CERTIFIED SOLUTION
NotLogical

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
dbadouraly

ASKER
thank you that's exactly what I needed
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23