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


  1. Posts : 51
    Windows 7 Home Premium 64bit
       #1

    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 Computer


  2. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #2

    You can enable 'autoplay' Change AutoPlay settings
    Not sure what you're asking
      My Computer


  3. Posts : 51
    Windows 7 Home Premium 64bit
    Thread Starter
       #3

    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 Attached Thumbnails Can I run a .bat on my hard drive when I insert a DVD movie?-autoplay.jpg  
      My Computer


  4. Posts : 184
    Windows 7 Ultimate x64 sp1
       #4

    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 Computer


  5. Posts : 51
    Windows 7 Home Premium 64bit
    Thread Starter
       #5

    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 Attached Thumbnails Can I run a .bat on my hard drive when I insert a DVD movie?-autoplay-repair.jpg  
      My Computer


  6. Posts : 184
    Windows 7 Ultimate x64 sp1
       #6

    Just type the path for your bat file in the Application box.
      My Computer


  7. Posts : 51
    Windows 7 Home Premium 64bit
    Thread Starter
       #7

    Hooray! That was the ticket! Thanks for the advice and help.
    -S
      My Computer


  8. Posts : 184
    Windows 7 Ultimate x64 sp1
       #8

    Good to hear. glad to help.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 19:39.
Find Us