|
|
|
|
![]() ![]() |
Mar 25 2008, 12:27 PM
Post
#11
|
|
|
Guest Feedbacks ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2,360 Joined: 21-September 07 Member No.: 50,369 |
Thanks!
Start Multiple Programs With One Shortcut Thanks coolcat. Neat trick and easy to do. Now when I start uTorrent, PG2 jumps to the rescue :^) -reply by budser |
|
|
|
Apr 9 2008, 01:01 PM
Post
#12
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 9-April 08 Member No.: 60,576 |
Thanks! Start Multiple Programs With One Shortcut Thanks coolcat. Neat trick and easy to do. Now when I start uTorrent, PG2 jumps to the rescue :^) -reply by budser Wow, this is great! here's a question: is it possible to get the second program to start with a bit of a delay? thanks, ya EDIT: ok, I am impatient and I managed to find the answer elsewhere. figured i'd leave it here too, in case anybody 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 (or 15, in your case) 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 This post has been edited by yellowalias: Apr 9 2008, 01:22 PM |
|
|
|
Apr 21 2008, 02:27 PM
Post
#13
|
|
|
Guest Feedbacks ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2,360 Joined: 21-September 07 Member No.: 50,369 |
Many thanks to all.
I have been trying to set up a shortcut to open multiple files I use in sequence. A Google search lead me to this page. Using the various methods in this thread I have, thru trial and error, managed to achieve what I wanted. Thanks to all Steve H -reply by Steve Hooper |
|
|
|
Apr 30 2008, 10:38 AM
Post
#14
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 30-April 08 Member No.: 61,519 |
Hi,
I am not sure if this is the best place to ask this question, but is the closest message board to my problem: I have used some of you tips for scripting a .bat file, so thanks for the help, however I have also combined this with a menu system (not as advanced as it sounds), but I have hit a few issues. The script is below: CODE @ECHO OFF :START CLS ECHO --------------------------------------------- ECHO CONNECTRIX MANAGER MENU ECHO --------------------------------------------- ECHO 1 - Connectrix Manager and Melville Gate Lock ECHO 2 - Connectrix Manager and Macmerry Lock ECHO 3 - Exit ECHO --------------------------------------------- :QUERY ECHO Please Select GETKEY IF ERRORLEVEL 57 GOTO QUERY IF ERRORLEVEL 51 GOTO L3 IF ERRORLEVEL 50 GOTO L2 IF ERRORLEVEL 49 GOTO L1 GOTO QUERY :L1 cd C:\Program Files\Connectrix Manager 9.5\bin\ start CtxMgr_Client.bat J: cd \ cd J:\Application Infrastructure Services\Storage Services\Disk\Support\Provisioning\EMC Work Plans\Zoning Melville_Gate_Zoning.xls GOTO START :L2 cd C:\Program Files\Connectrix Manager 9.5\bin\ start CtxMgr_Client.bat J: cd \ cd J:\Application Infrastructure Services\Storage Services\Disk\Support\Provisioning\EMC Work Plans\Zoning Macmerry_Zoning.xls GOTO START :L3 exit I have a couple of issues: ISSUE 1 - When I select option 1 the two applications open, however the DOS window goes on a loop with the error message: Please Select 'GETKEY' is not recognized as an internal or external command, operable program or batch file. ISSUE 2 - If I select option 1, there have been times when it has not gone on a loop and both applications open. However if I want to select option 2 after that it does not accept any more input to choose option 2 and therefore I have to close the DOS window and re-open. ANY IDEAS? Cheers |
|
|
|
May 1 2008, 07:50 PM
Post
#15
|
|
|
Guest Feedbacks ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2,360 Joined: 21-September 07 Member No.: 50,369 |
What should I type if I want to delay the second program in this script?
@echo off Rem Banlist Cd C:\Program Files\WC3Banlist Start WC3Banlist.Exe Rem TFT Cd C:\Program Files\Warcraft III Start Frozen_Throne.Exe Exit -question by Emil |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 16th May 2008 - 10:14 AM |