Solved

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

Posted on 2006-06-19
2
159 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 84

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

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…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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