hey, I'm looking for help creating a shortcut that can open two or more other shortcuts at the same time
I have a couple old games that I use nhancer to force full quality on (AA/AF), but I really don't want to start nhancer each time I want to play on of these games, nor do I feel like having it start with windows just for these few games.
so I would like to create a shortcut/batch to open nhancer, and open the game of my choice at the same time
here is an example:
"C:\Program Files\KSE\nHancer 32bit\nHancer.exe" /tray
"C:\Program Files\EA Games\Battlefield 1942\BF1942.exe" +game XPack2
I can make a batch that starts just the 2 .exes, but getting the parameters to work are another question. The parameter on nhancer just minimizes it to a tray, which I want, and the +game xpack2 loads the expansion for bf1942.
Can someone please show me how to create a single shortcut that can load these two strings correctly.
Thanks
-
-
teamkillahilla Notebook Evangelist
to my understanding you can provide the parameters inside the .bat file
-
ok, then how do I add said parameters to the bat file please
-
I think just by making a batch that contains those lines that you put up there it would work.
-
I get the feeling he doesn't know how to create the bat file.
Create a text file, copy the two lines into it (you may want to add an 'Exit' at the end), and save it with a .BAT extension, not TXT. Double-clicking it will execute all the commands in order, or you can make a shortcut to the BAT file. -
germancasaretto Notebook Geek NBR Reviewer
Here's an example of adding parameters to a shortcut:
H:\Apps\FPA\BIN\SBK32.exe -SPROD
-SPROD will be the parameter.
Hope this'll help you. -
hi all
I have a question:
Is there a way to make the second program run with a time delay??
if so, how?
thanks!!
EDIT:
I figured out the answer, and i'm including it here in case anyone else is interested.
I am using Windows Vista, and this worked for me.
I am also using .bat to execute my shortcuts.
Lets say I wanted to start yahoo messenger, and ten seconds later to start windows media player.
First of all, using notepad, you have to save these commands:
@ping 127.0.0.1 -n 2 -w 1000 > nul
@ping 127.0.0.1 -n %1% -w 1000> nul
and call the file WAIT.bat
Then you open a new document and input:
@echo off
start "" "C:\Program Files\Yahoo!\Messenger\YahooMessenger.ex...
CALL WAIT 10
start "" "C:\Program Files\Windows Media Player\wmplayer.exe"
the important part is to write the CALL WAIT 10 in between the two programs. When you save this file, name it whatever you want, just remember to save it as a *.bat
this works for me!
~~~~
Another option is to download the windows resource kit that allows you to do the same thing using a sleep command, supposedly it is simpler than doing all the work outlined above.
http://malektips.com/xp_dos_0002.html -
Blahrgh!!! Curse Microsoft for STILL not including a "sleep" command!!
-
-
HELP: Open two programs with one shortcut
Discussion in 'Windows OS and Software' started by cooljerk_dv, Jul 31, 2006.