[Windows] 1 shortcut, multiple apps?

Renegade_R

Well-Known Member
Member
Joined
Apr 21, 2004
Messages
1,660
Trophies
2
Location
Toronto, Ontario
XP
982
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
1
Age
32
Website
Visit site
XP
246
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
1
Website
Visit site
XP
283
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
2
Website
Visit site
XP
291
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
1
Age
44
Location
Niagara
Website
Visit site
XP
299
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.
  • Skv0ra @ Skv0ra:
    for next 10-20y it doesn't need to be toyched
  • Skv0ra @ Skv0ra:
    touched*
  • Skv0ra @ Skv0ra:
    yep
  • realtimesave @ realtimesave:
    the wire harness has pretty thick wire in it too
  • Skv0ra @ Skv0ra:
    i need to address brake lights and turn signals, but thats nothing
  • Skv0ra @ Skv0ra:
    is the dub 12V or 6V?
  • realtimesave @ realtimesave:
    my VW had the high beams wired to the low beams, my dad's friend figured it out and corrected that
  • Skv0ra @ Skv0ra:
    cuz my stude is 6V - adds an extra layer of fun not fun
  • realtimesave @ realtimesave:
    they weren't putting out enough light cos both were on at the same time
  • Skv0ra @ Skv0ra:
    lol
  • realtimesave @ realtimesave:
    it was converted to 12V
  • Skv0ra @ Skv0ra:
    so OG they were 6 as well?
  • Skv0ra @ Skv0ra:
    im surprised my, just beams, are actually enough at night
  • realtimesave @ realtimesave:
    also I put the 6V wiper motor back in
  • realtimesave @ realtimesave:
    and it runs off of a potentiometer so it doesn't get 12V
  • realtimesave @ realtimesave:
    reason being is the 12V motor parks the wipers in the wrong place every time
  • realtimesave @ realtimesave:
    6V wiper motor is the key ingredient. parks nice and low
  • realtimesave @ realtimesave:
    man I need a snack LOL dunno what I want
  • realtimesave @ realtimesave:
    ah well tomorrow I'll be back on, hunting down those 2 switch games again haha
  • Skv0ra @ Skv0ra:
    lmao
  • Skv0ra @ Skv0ra:
    got my pizza out so im all set
  • Skv0ra @ Skv0ra:
    finsihed Chaos;Head, onto Steins;Gate
  • Skv0ra @ Skv0ra:
    so from Shibuya i drank all too much one summer, to Akiba i know equally as well
  • Skv0ra @ Skv0ra:
    lmao
    Skv0ra @ Skv0ra: lmao