[Windows] 1 shortcut, multiple apps?

Renegade_R

Well-Known Member
Member
Joined
Apr 21, 2004
Messages
1,660
Trophies
1
Location
Toronto, Ontario
XP
962
Country
Canada
Batch file FTW.

One sec let me get the info for ya.

Code:
C:\Folder1\Program1.exe
D:\Folder2\Folder3\Program2.exe
C:\Program Files\Good Thing\Program3.exe

Just write something similar in a *.txt file and rename it to *.bat

Should get what you need to do.
 

Chotaz

I'm back! :D
OP
Member
Joined
Sep 20, 2007
Messages
757
Trophies
0
Age
31
Website
Visit site
XP
226
Country
it worked great, just not the way i wanted it to :\

i have my batch file like this atm:

QUOTE said:
"C:\Documents and Settings\[username]\Ambiente de Trabalho\[foldername]\MoonlightEngine.exe" -1121
"D:\GameZ\EMS\MapleStory.exe"

the -1121 is a param for that program to work correctly..

With the batch file like this, MapleStory will only run after I close MLEngine

What should I do that have the batch file make this.

Open MLEngine
wait about 4/5 secounds
Open MapleStory
Close the cmd prompt

Hope u can help me,
thanks in advance
 

iritegood

Well-Known Member
Member
Joined
May 15, 2007
Messages
759
Trophies
0
Website
Visit site
XP
273
Country
United States
Code:
start "c:\something.exe"
start "c:\documents and settings\owner\somethingelse.exe"

Quotation marks are needed if you have spaces in the directory.
Batch file of course.
 

Lukeage

Well-Known Member
Member
Joined
Feb 24, 2004
Messages
178
Trophies
0
Website
Visit site
XP
271
Country
In Vista (and maybe XP) there is a command TIMEOUT which takes a single parameter for the number of seconds:

TIMEOUT 10 - waits 10 seconds.

If this isn't available on XP, then you can cheat with something like this:

CHOICE /T:10 /D y > NUL

This runs CHOICE which is normally used for input selection within batch files. /T:x is the number of seconds to wait and /D y makes the default choice (which doesn't make any difference in your case) y. > NUL pipes the output to NUL (which is the same as /dev/null on linux) so you don't see any output. This could also be used on the TIMEOUT function too.

Hopefully that helps.
 

Kingwad

Well-Known Member
Member
Joined
Nov 8, 2007
Messages
110
Trophies
0
Age
43
Location
Niagara
Website
Visit site
XP
279
Country
Canada
There is no REAL wait command... but you can cheat with the following
Code:
PING 1.1.1.1 -n 1 -w 4000 >NUL
That will give you 4 seconds.
Code:
PING 1.1.1.1 -n 1 -w 10000 >NUL
That will give you 10 seconds.

If you don't know, ping checks the responce time with another computer on the net. 1.1.1.1 doesn't exist. This command tells it to check 1.1.1.1 once, and wait x number of milliseconds before giving up.
Code:
>NULL
This just gets rid of what ping would display on the screen. So your new batch file is
Code:
"start C:\Documents and Settings\[username]\Ambiente de Trabalho\[foldername]\MoonlightEngine.exe" -1121
PING 1.1.1.1 -n 1 -w 10000 >NUL
"start D:\GameZ\EMS\MapleStory.exe"
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @ZeroT21, The Russians are after you lol.
  • K3Nv2 @ K3Nv2:
    Send me your ip I'll remotely fix it
  • ZeroT21 @ ZeroT21:
    @K3Nv2 my head needs fixing if I believe you
  • ZeroT21 @ ZeroT21:
    it's kinda fun watching it happen tho
  • K3Nv2 @ K3Nv2:
    It needs fixing for other things but your pc I can fix
  • ZeroT21 @ ZeroT21:
    over 300+ virus/trojians/worms after scanning, what did I do to deserve this attention lol
  • ZeroT21 @ ZeroT21:
    tho I find it funny when i receive other people's pc/laptops in this state
  • ZeroT21 @ ZeroT21:
    i wont be upgrading unless I cant run the games i want anymore
  • K3Nv2 @ K3Nv2:
    Spill water on it good excuse
  • ZeroT21 @ ZeroT21:
    @K3Nv2 that's like a valid option if someone else is paying for ya
  • K3Nv2 @ K3Nv2:
    Daddy's wallet
  • K3Nv2 @ K3Nv2:
    Ngl hogwarts legacy has good pooping music
  • OctoAori20 @ OctoAori20:
    That's uh-
  • OctoAori20 @ OctoAori20:
    That's certainly a Dairy Queen sign lmao
  • K3Nv2 @ K3Nv2:
    You should see his help wanted signs
  • OctoAori20 @ OctoAori20:
    Ugh, so many sweat-dipwads in Sploon 3 Anarchy mode tonight
  • OctoAori20 @ OctoAori20:
    I didn't know this was "Make Octo never finish Fresh Season 2024 Catalog in Splatoon 3" month, good god
  • Veho @ Veho:
    What's the point of "confirming" games you know will get released. Like Nintendo "confirming" a Zelda sequel. "We can't be sure Nintendo is working on a new Zelda game, or if a new Zelda game will ever be released, until they officially confirm it."
  • Veho @ Veho:
    "There is literally no way to know if they will ever release a new Zelda game, it's wild speculation until they officially confirm it."
  • K3Nv2 @ K3Nv2:
    Black ops was the lesser shitter line in cock a poopoo tbf just a way to let people know it hasn't died or going a different route I guess
  • K3Nv2 @ K3Nv2:
    $70 DLC per 6 months is what it turned into
    K3Nv2 @ K3Nv2: https://youtu.be/R28ZSY2Sc2A?si=H5Lb6PNkzMhAHO_P