Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: DVD Batch file  (Read 4403 times)

0 Members and 1 Guest are viewing this topic.

gsx rated98

    Topic Starter


    Starter

    DVD Batch file
    « on: January 09, 2009, 10:49:01 AM »
    hello everyone.  Does anyone know if you can create a batch file to run at the beginning of a DVD to start a specific program. 

    For example, I if I wanted the DVD to play in div-x, can a batch file be attached to the beginning of a DVD to force it to run in that program?

    Thanks

    fireballs



      Apprentice

    • Code:Terminal
    • Thanked: 3
      Re: DVD Batch file
      « Reply #1 on: January 09, 2009, 10:58:36 AM »
      If you just want the DVD to play in a certain player, depending on what OS you're using, you can use autoplay.

      for vista it's under control panel>autoplay.

      FB
      Next time google it.

      gsx rated98

        Topic Starter


        Starter

        Re: DVD Batch file
        « Reply #2 on: January 09, 2009, 11:06:48 AM »
        Yes, I know that.  I'm creating a DVD for my company, and they want it setup that way.  So, when who ever puts the DVD into their personal computer, it will automatically open in "x" DVD player.

        Trying to find ways to cut down on helpdesk calls about DVD's/DVD Players not working.

        Kurtiskain



          Mentor

          Thanked: 58
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: DVD Batch file
        « Reply #3 on: January 10, 2009, 07:18:57 PM »
        Don't worry about the post if you haven't already read it...I couldn't get it to work on my own machinw though I think I have some tweaks to prevent it from doing that anyway.

        Your best bet is to create some kind of flash based video player that runs on putting the disk in.
        I have seen a few of these on music CD's and some computing CD's I had for school.
        « Last Edit: January 10, 2009, 07:42:25 PM by Kurtiskain »

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: DVD Batch file
        « Reply #4 on: January 10, 2009, 11:53:58 PM »
        you cannot attach a program to the start of a Video DVD, as far as I'm aware. but, if the DVD contains the videos as files, one can use the autorun.inf to launch a batch file.
        I was trying to dereference Null Pointers before it was cool.

        Kurtiskain



          Mentor

          Thanked: 58
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: DVD Batch file
        « Reply #5 on: January 11, 2009, 12:17:50 AM »
        Quote
        you cannot attach a program to the start of a Video DVD, as far as I'm aware. but, if the DVD contains the videos as files, one can use the autorun.inf to launch a batch file.

        Well I would think as long as you had VIDEO_TS and AUDIO_TS the DVD player would still recognize it.

        The limitation here is you must KNOW that the client has the certain program.
        Because your auto run would look something like this

        [autorun]
        OPEN=C:\PROGRA~1\POWERD~1\POWERDVD.EXE "Path to video files/directory"
        ICON=Company_logo.ICO
        But what if they don't have PowerDVD? all they will get is a file not found error.

        So the only real way to do it is to not use a DVD but by using both DVD and CD

        Give DVD's to those who will use a DVD player

        CD's to those that will use a computer, in the VCD format, all computer, (even my win95) play these.

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: DVD Batch file
        « Reply #6 on: January 11, 2009, 01:49:30 AM »
        Well I would think as long as you had VIDEO_TS and AUDIO_TS the DVD player would still recognize it.

        Oh yeah, I keep forgetting, a Video DVD isn't really a special format like CD audio :P

        I was trying to dereference Null Pointers before it was cool.

        Kurtiskain



          Mentor

          Thanked: 58
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: DVD Batch file
        « Reply #7 on: January 11, 2009, 01:54:27 AM »
        Hehe yeah it is a pain huh.

        You could always look int creating a hybrid-DVD too.

        These work by putting more then one session on the DVD.
        The first session being the DVD, the second being the computer partition, and seeing as computers can recognize both sessions you could have your batch file located there.

        The advantage with this is it will work 100% in both, and you could also "hide" the DV portion, preventing it from being "ripped"

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: DVD Batch file
        « Reply #8 on: January 11, 2009, 02:30:39 AM »
        Hehe yeah it is a pain huh.

        You could always look int creating a hybrid-DVD too.

        These work by putting more then one session on the DVD.
        The first session being the DVD, the second being the computer partition, and seeing as computers can recognize both sessions you could have your batch file located there.

        The advantage with this is it will work 100% in both, and you could also "hide" the DV portion, preventing it from being "ripped"

        huh? I thought it would work as long as there was a VIDEO_TS and AUDIO_TS folder? ???
        I was trying to dereference Null Pointers before it was cool.

        Kurtiskain



          Mentor

          Thanked: 58
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: DVD Batch file
        « Reply #9 on: January 11, 2009, 02:32:18 AM »
        it would, those are just extra steps companies normally like to take :)

        gsx rated98

          Topic Starter


          Starter

          Re: DVD Batch file
          « Reply #10 on: January 12, 2009, 08:17:30 AM »
          Hey guys thanks for the responses.  I'm actually going to use Kurtiskain's idea about putting in an AUTORUN file on the DVD.  Already tested it, and it worked exactly how I wanted it to.

          I'm not overly worried about users not having the programs on their systems, as the systems they should be used on are coming from the company. 

          But again, thanks for the helps.