1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TUTORIAL: Opening multiple programs with one shortcut

Discussion in 'Computer Tutorials' started by Ursawarrior, Jan 11, 2010.

TUTORIAL: Opening multiple programs with one shortcut

Discussion in 'Computer Tutorials' started by Ursawarrior, Jan 11, 2010.

  1. Ursawarrior

    Ursawarrior New Member

    Joined:
    Oct 17, 2007
    Messages:
    1,651
    Likes received:
    5
    Trophy points:
    0
    From:
    somewhere....not sure
    Well... I'm using a bot on my online game and I was getting annoyed at the fact that i need to open multiple programs
    to get it running, so that's why i made a shortcut that will open them all in just one double-click, and now i share it to you guys

    To start, you must know where the program's ".exe" is located (the file path).
    Now if you're having trouble with the file path name, do this:

    Look for the ".exe" file of your program.
    Right-click it and choose "send to" then "desktop".
    Go to your desktop and look for that shortcut.
    Right-click > properties > the "Target" line is already highlighted
    and all you need to do is copy it

    Now that you figured out where those programs are, time to make a shortcut.
    Open up Notepad/Wordpad/Any Text Editor.

    On the first line, type
    Code:
    @ECHO OFF
    
    We will run a batch file so the code above will close the cmd window after it runs.

    Then we need to change directory and start the programs, like the example below:
    Code:
    cd "C:\Program Files\folder\"
    Start Program Name.exe
    
    take note: C:\Program Files\folder\Program Name.exe is the location of the file and the file name itself,
    so the only line you'll be placing after "cd" is is the file location (C:\Program Files\folder\) and the line
    you'll be placing after "Start" is the file itself plus its extension (.exe) (i haven't tried opening other types)

    Now if you want to open multiple programs, just copy the code above and specify the location of the
    next program and its file name+extension

    After you're done with the code, click on the File> Save As> TheShortcutNameHere.bat
    Then below it, change the "Save As type" to "All".

    Example:
    Code:
    @ECHO OFF
    cd "C:\Program Files\Mozilla Firefox\"
    Start firefox.exe
    
    cd "C:\Program Files\Google\Chrome\Application\"
    Start chrome.exe
    
    The code above will open both firefox and google chrome. (another note: always wrap the paths with " ", DO NOT wrap the file names with " ")

    Now, say that you don't like the icon and you want to change it.
    First, place the ".bat" file somewhere that you want to hide it, right-click it and "Send To" > "Desktop"
    You'll now see the shortcut of the ".bat" file, now just right-click it and change the icon, and you're done!

    That is all.

    P.S. don't focus on the botting part, lol.
    and for those who can understand the code,
    i needed to change the directory because some programs have errors when you run it without the "cd" part
     
  2. jasmine

    jasmine New Member

    Joined:
    Feb 26, 2009
    Messages:
    506
    Likes received:
    5
    Trophy points:
    0
    From:
    England
    Code:
    @ECHO OFF
    :F
    ECHO Ursawarrior is awesome
    GOTO F
    
    save as THANKS.BAT