Welcome Guest ( Log In | Register)



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Start Multiple Programs With One Shortcut, Windows XP
Trap FeedBacker
post 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
Go to the top of the page
 
+Quote Post
yellowalias
post Apr 9 2008, 01:01 PM
Post #12


Newbie
*

Group: Members
Posts: 1
Joined: 9-April 08
Member No.: 60,576



QUOTE(FeedBacker @ Mar 25 2008, 02:27 PM) *
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
Go to the top of the page
 
+Quote Post
Trap FeedBacker
post 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
Go to the top of the page
 
+Quote Post
colinwilson1303
post 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

Notice from rvalkass:

Please try to use the correct BBCodes where appropriate.
List of BBCodes
Go to the top of the page
 
+Quote Post
Trap FeedBacker
post 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
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. [tutorial] Visual Basic 6(1)
  2. How To Change The Windows Xp Shell.(17)
  3. Make Windows Xp Look Like The Mac Interface(32)
  4. Hidden Quotes In Windows Xp(15)
  5. How To Make A Sig Rotator(85)
  6. Podcasting For The Absolute Newb(5)
  7. Multiple Classes In Html(8)
  8. Keyboard Shortcut(12)
  9. A Tutorial On How To Change Your Window's Screen Name's Icon(0)
  10. Changing Default Windows Desktop Theme(13)
  11. Javascript Framework - A Shortcut Javascript(3)
  12. Installing Multiple Os On Your Pc(0)
  13. Installing Php + Mysql + Apache + Phpmyadmin On Windows Part 2(0)
  14. Memory Trick To Speedup Windows Xp(26)
  15. How To Group Multiple Sets Of Data In Microsoft Excel 2007(0)
  1. Rename The Ms Windows Recycle Bin(9)
  2. Disabling Safe Boot On Windows Xp(0)
  3. Giving Important Programs Priority(2)
  4. Dynamic Signature - Yet Another Way To Do It(0)
  5. Reducing Windows Vista Start Menu Programs Response Time.(0)
  6. How To Hack Windows Pinball!(20)
  7. Uninstalling Windows Vista(4)
  8. Internet Connection Sharing With Xbox 360 And A Laptop(4)
  9. Make Windows Xp Look Like Vista(6)
  10. How To Backup And Restore Windows Registry(0)
  11. How To Hide Your Important Files And Folders(7)
  12. Increase Internet Bandwidth In Windows Xp(6)
  13. Remote Shutdown(6)


 



- Lo-Fi Version Time is now: 16th May 2008 - 10:14 AM