Solved

run 3 longrunning backrouund programs in one command or one script file

Posted on 2006-06-19
2
154 Views
Last Modified: 2010-04-13
I need to run frequently 3 longrunning backrouund programs.
Instead of open the windows explorer each time and clck on them , what i need is a scipt to run all the 3 programs (.exe files ) at once  in one command or one script file.
0
Comment
Question by:mordi
2 Comments
 
LVL 4

Expert Comment

by:Nat_c
Comment Utility
Hi mordi,

You could create a batch file:

Open notepad
type the full path to each file on a separate line
save the file as something.bat

running this batch file will now execute all 3 programs

e.g.

c:\windows\notepad.exe
c:\program files\myapp\runmyapp.exe
c:\youget\theidea.exe

HTH,
Nat
0
 
LVL 82

Accepted Solution

by:
oBdA earned 152 total points
Comment Utility
Simply create a text file named runmyprograms.cmd (or whatever.cmd) on your desktop; if you have the extensions hidden, make sure it's not named whatever.cmd.txt.
In the batch file, just enter the path and the name of the exes you want to start. The "start" in front of it will make sure the script continues instead of waiting for the program to finish before running the next command.

start "" "C:\Programe Files\Acme1\acme1.exe"
start "" "C:\Programe Files\Acme2\acme2.exe"
start "" "C:\Programe Files\Acme3\acme3.exe"
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now