Return to Website
The Virtual V. Subhash Discussion Forum

Welcome! This forum is meant for

How To Reach This Forum? Do A Search For "Subhash Discussion Forum"!


Search For Similar Forums   ·   Return to Website

  First Page
  Previous Page
  Reply
  Main Page
Next Page  
Last Page  
Search this Forum:  
Viewing Page 1 of 1 (Total Posts: 8)


Author Comment    
Chuck

saintchuck@gmail.com


Nov 4, 05 - 11:56 PM
Launching multiple programs with 1 Quicklaunch button.

I am trying to get my spam blocker (K9) and email client (Pocomail) to launch from 1 Quicklaunch button but haven't been able to figure out how.

Any suggestions?

Thanks

saintchuck
V. Subhash



Nov 11th, 2005 - 3:00 PM
Re: Launching multiple programs with 1 Quicklaunch button.

You need to create a batch (.bat) file in which you place the commands for the two applications. Open notepad, type the path and filename of the the applications one after another (two lines), click "Save As", change file type to "All Files", type filename as "somename.bat"

http://home.att.net/~gobruen/progs/dos_batch/dos_batch.html


Create a shortcut for this batch file and copy it to the Quicklaunch menu folder which is at
C:\Documents and Settings\USERNAME\Application Data\Microsoft\Internet Explorer\Quick Launch
Chuck



Nov 12th, 2005 - 12:57 AM
Re: Launching multiple programs with 1 Quicklaunch button.

Got a little farther that time

The DOS window opens, the first line is run but it doesn't execute the second line.

-Poco.bat-

C:\Progra~1\KeirNet\K9\K9.exe
C:\Progra~1\PocoMail\Poco.exe

------------------------------

-What Dos window looks like after running Poco.bat-

C:\>C:\Progra~1\KeirNet\K9\K9.exe
_ <--Blinking cursor

------------------------------

Don't understand why it is hanging on first line. Any suggestions?

I appreciate your help

Chuck
Chuck



Nov 12th, 2005 - 1:03 AM
Re: Launching multiple programs with 1 Quicklaunch button.

Forgot to mention.

It does launch the first program.

Thanks,
Chuck
V. Subhash



Nov 12th, 2005 - 12:16 PM
Re: Launching multiple programs with 1 Quicklaunch button.

I checked one of my batch files and found that I had used the Start command to initiate similar batch commands. You will have to rewrite your batch file like this:



Start C:\Progra~1\KeirNet\K9\K9.exe
Start C:\Progra~1\PocoMail\Poco.exe

Without the "start" command, the batch file waits for each batch command to close and then executes the next batch command. The start command provides a positive exit code for each batch command so that the batch file can progress to the next command.

Chuck



Nov 12th, 2005 - 7:22 PM
Re: Launching multiple programs with 1 Quicklaunch button.

Success!

Thanks for all the help.

Chuck
V. Subhash



Nov 13th, 2005 - 7:08 AM
Re: Launching multiple programs with 1 Quicklaunch button.

I did a lot of batch programming in the days of DOS (before Windows came on the scene). Each batch command generated some output, which was redirect to a file, which was then used by the next batch command. We never had to have each batch command open on the screen. Only the final output was required. Old habits die hard. So, I asked you to simply but the commands in a .bat file and execute it.


These days, I use a batch file that loads at startup. I had included the Start command in it but it slipped out of my memory when your query came up. The Start command was introduced with Windows and was not part of the original DOS. I have good long-term memory and mediocre short-term memory.


Also, you might want set a more good-looking icon for the batch file shortcut (Right-click, Change Icon, OK on the error message, Browse). Many .dll files in the Windows or Winnt folder (pifmgr.dll, shell32.dll) have very good icons.

Chuck



Nov 13th, 2005 - 7:10 PM
Re: Launching multiple programs with 1 Quicklaunch button.

I know the feeling. I can remember writing programs in Basic on a TRS-80 in high school but can't remember what my wife told me to do 10 minutes ago.

Already set the icon to Poco's.

Thanks again for the help.

Would be nice if Google only indexed the useful parts of the web. Wouldn't have taken me so long to find your site.

Be good,
Chuck


  First Page
  Previous Page
  Reply
  Main Page
Next Page  
Last Page  




Get your FREE forum service! 
Web Calendars · Photo Center · Today in History · Guest Maps  powered by Powered by Bravenet bravenet.com