Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need direction 1

Status
Not open for further replies.

Birbone

MIS
Dec 20, 2000
141
US
Don't know if this is the corrcet forum for this thread but I figured you, better than any one else, can get me going in the right direction.

To use a UNIX term I want to write a shell script to launch multiple applications. I tried writing some DOS commands in a notepad file that I saved as a bobs.exe file. When exicuting this file from a Window's shortcut I received a bobs.exe is not a valid Win32 application.

What application do I need to use for writing this script.

My first goal is to write one script, that when selected launches calc.exe and winmine.exe. Once I can get these to launch correctly, I want to change it to launch several of my online applications so I won't have to select them individually. -Bobby s-)
bwgunn@icqmail.com
 
try changing the bobs.exe to bobs.bat, and as long as you have the dos commands syntax right the programs will run.
Dragnut
 
Thanks dragnut, that worked.

Funny how things work when you do them correctly.

Now, do you know if there is a way to verify an internet connection in this bat file before launching additional applications. Yes I am very green at this, but enjoy learning. Thanks for any additional help you can provide. -Bobby s-)
bwgunn@icqmail.com
 
I haven't played with batch files in years, but you might could find/write a program to verify the connection, then just call it before anything else.
Dragnut
 
Thanks. I appreciate all your help. -Bobby s-)
bwgunn@icqmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top