[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
  • Psionic Roshambo @ Psionic Roshambo:
    I tell people I wrestled a 5 foot alligator and they get this smile like this guy is full of shit lol the reality is I am sad it got away.... I wanted a pet alligator lol
  • BigOnYa @ BigOnYa:
    You live in Florida, so I believe it, you guys are crazy.
  • Psionic Roshambo @ Psionic Roshambo:
    At the time I would have probably fed it people lol
  • Psionic Roshambo @ Psionic Roshambo:
    Seriously cocaine not even once lol
  • BigOnYa @ BigOnYa:
    Not even once, but 100's of times
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    My girlfriend at the time, she had me stay up with her all night because some how the crazy bitch had spent like 12 hours snorting 2 8 balls, didn't use any water (gotta clean your nose) so she had so much crusted in her nose I was sure she was gonna blow up her heart. I mean this was the stuff right off the boat so absolutely pure. ugghh so annoying
  • Psionic Roshambo @ Psionic Roshambo:
    Also doing like 320 dollars worth of coke in half a day lol damn it
  • Psionic Roshambo @ Psionic Roshambo:
    hmmm 360 even lol
  • Psionic Roshambo @ Psionic Roshambo:
    Well I was getting a discount so 320 is probably right
  • BigOnYa @ BigOnYa:
    That is cheap, I used to pay $100 for a tine.
  • Psionic Roshambo @ Psionic Roshambo:
    Tine? One gram?
  • BigOnYa @ BigOnYa:
    Sixteenth
  • Psionic Roshambo @ Psionic Roshambo:
    Also it was literally out of a kilo when I got it off the boat so absolutely pure
  • Psionic Roshambo @ Psionic Roshambo:
    Holy shiz that's a lot
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I was getting 3.5 Grams for 320 could have stepped on it and doubled my money easy lol
    +1
  • BigOnYa @ BigOnYa:
    I'd be afraid to it nowdays, my heart would explode prob. I just stick beers n buds nowdays.
  • Psionic Roshambo @ Psionic Roshambo:
    I would get to drive from tarpon springs to like Miami a thousand bucks lol do that twice a week and back in 92 that was good money
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    @Psionic Roshambo what are you guys talking about?
  • Psionic Roshambo @ Psionic Roshambo:
    Blew it on women and muscle cars lol
    +1
  • BigOnYa @ BigOnYa:
    @Xdqwerty Hamster food, its pricey nowadays to keep PCs running.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I don't do anything except cigarettes and gotta stop eventually lol
    +1
  • BigOnYa @ BigOnYa:
    I'd do shrooms again if could find, and I was outside camping/fishing, and had a cooler full of beer.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I wouldn't mind some LSD, laughing until my face hurt sounds fun lol
    +1
    Psionic Roshambo @ Psionic Roshambo: I wouldn't mind some LSD, laughing until my face hurt sounds fun lol +1