[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
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
  • The Real Jdbye @ The Real Jdbye:
    i don't think nvidia wants to get in the x64 cpu market anyways
  • The Real Jdbye @ The Real Jdbye:
    you've seen how much intel is struggling getting into the gpu market
  • The Real Jdbye @ The Real Jdbye:
    and nvidia is already doing ARM
  • The Real Jdbye @ The Real Jdbye:
    i don't think they want to take more focus away from their gpus
    The Real Jdbye @ The Real Jdbye: i don't think they want to take more focus away from their gpus