Solved

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

Posted on 2006-06-19
2
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 85

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

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…
This article is written by John Gates, CISSP. Gates, the SNUG President-Elect, currently holds the position of Manager of Information Systems at Lake Park High School in Roselle, Illinois.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

636 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