Batch file

Discussion in 'Windows - General discussion' started by jmcole, Apr 10, 2009.

  1. jmcole

    jmcole Regular member

    Joined:
    Jul 19, 2004
    Messages:
    218
    Likes Received:
    0
    Trophy Points:
    26
    Here is what I'm wanting to do;

    I want to create a .bat file to run DVD Fab Decrypter, then goes automatically to DVD Rebuilder, then automatically goes to ImageBurn.

    What do you think? Is there a way to create this batch file?
     
  2. timmins99

    timmins99 Member

    Joined:
    Jan 2, 2007
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    16
    Yes use notepad or any program that will save the end file in pure text. Put the commands in order you want them to work. Remember, one program as to end before the next can start.

    Save the file any name with a .bat extension
     
  3. jmcole

    jmcole Regular member

    Joined:
    Jul 19, 2004
    Messages:
    218
    Likes Received:
    0
    Trophy Points:
    26
    Can you give me an example?
     
  4. KillerBug

    KillerBug Active member

    Joined:
    May 21, 2006
    Messages:
    3,802
    Likes Received:
    0
    Trophy Points:
    66
    Example:
    @echo off
    cls
    program1.exe /switches
    program2.exe /switches


    Also, some programs will "call" other programs, causeing program2.exe to start before program1.exe is done. If this happens, do this:

    @echo off
    cls
    program1.exe /switches
    pause
    cls
    program2.exe /switches


     

Share This Page