Solved

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

Posted on 2006-06-19
2
156 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
ID: 16933146
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 83

Accepted Solution

by:
oBdA earned 152 total points
ID: 16933168
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

786 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