Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can I run a .bat on my hard drive when I insert a DVD movie?

16 Dec 2011   #1
nzdreamer55

Windows 7 Home Premium 64bit
 
 
Can I run a .bat on my hard drive when I insert a DVD movie?

I though that I could just go to the autoplay settings and choose to run a program when a DVD movie is inserted, but alas I can only chose to play it or open it with windows explorer. I did a google search as well as here on sevenforums and it seems to be a pretty hard thing to do. Maybe there is a little third party application I can use?

I have a .bat file on my c drive that I want to run each time I put a DVD movie into my computer DVD drive.

Thanks in advance
-S


My System SpecsSystem Spec
.
16 Dec 2011   #2
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

You can enable 'autoplay' Change AutoPlay settings
Not sure what you're asking
My System SpecsSystem Spec
17 Dec 2011   #3
nzdreamer55

Windows 7 Home Premium 64bit
 
 

Thanks for the reply Jacee. I'll try to show you what I mean in a picture. Please let me know if this helps clarify the question that I have. Again thanks for the help

-S


Attached Thumbnails
Can I run a .bat on my hard drive when I insert a DVD movie?-autoplay.jpg  
My System SpecsSystem Spec
.

17 Dec 2011   #4
rustberger

Windows 7 Ultimate x64 sp1
 
 

You could follow this tutorial. Tested. Works on windows 7.
Just sure to "Run as administrator"
How to add custom entries to Windows Vista's AutoPlay | Windows Vista, XP and Windows 7 Tutorials
My System SpecsSystem Spec
17 Dec 2011   #5
nzdreamer55

Windows 7 Home Premium 64bit
 
 

Thank you rustberger for the idea. I gave it a try, however the application won't let you add a bat file to the autoplay menu. See pictures. Maybe there is a way to change a bat file to an exe file? Thanks for the suggestion.
-S


Attached Thumbnails
Can I run a .bat on my hard drive when I insert a DVD movie?-autoplay-repair.jpg  
My System SpecsSystem Spec
17 Dec 2011   #6
rustberger

Windows 7 Ultimate x64 sp1
 
 

Just type the path for your bat file in the Application box.
My System SpecsSystem Spec
17 Dec 2011   #7
nzdreamer55

Windows 7 Home Premium 64bit
 
 

Hooray! That was the ticket! Thanks for the advice and help.
-S
My System SpecsSystem Spec
17 Dec 2011   #8
rustberger

Windows 7 Ultimate x64 sp1
 
 

Good to hear. glad to help.
My System SpecsSystem Spec
Reply

 Can I run a .bat on my hard drive when I insert a DVD movie?




Thread Tools




Similar help and support threads
Thread Forum
Insert USB flash drive--machine intermittent sys error?
This is a recent problem. It seems to have appeared after Office 365 was installed and another email related program that the machine had install problems with. I cannot revert to a prior restore point for several days until my wife gets past a bunch of time critical work with Quickbooks. Since...
Hardware & Devices
On insert cdrom or dvd with data in optical drive opens adobe light-ro
win 7 pro On insert cdrom or dvd with data in optical drive opens adobe light-room program... how set open file win explorer? or nothing open?
Hardware & Devices
Drive Device Drivers needed; please insert floppy/ empty driver folder
I was wondering if anyone could give some insight here. I've gone up to tier 2 techs so far that still donít seem to have a clue as to what is going on. This is the gist of what I'm running, to be followed by the quite annoying problem... -CD:24X Double Layer Dual Format DVD+-R/+-RW + CD-R/RW...
Drivers
BSOD - Please Insert Boot Drive or Restart the System
Hi, I have just built a new computer (about 3 months ago now). It has been working fine since then, however about a month ago I had a BSOD and it restarted on its own and works again. I had another two days ago now as well. The unusual thing is after it restarts I get a white error message...
BSOD Help and Support
Please insert a disk into drive \Device\Harddisk2\DR2.
Hi Guys, Have just done a clean install of win7 pro. Also Adobe Design Premium CS5. When I start photoshop I get the following message popping up repeatedly: There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR2. Any clues as to what's going on? Cheers,...
Hardware & Devices


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 23:10.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App