Computing.Net > Forums > Programming > Backgroud a bat file in window XP

Backgroud a bat file in window XP

Reply to Message Icon

Original Message
Name: stimson
Date: January 11, 2005 at 07:23:53 Pacific
Subject: Backgroud a bat file in window XP
OS: Window XP
CPU/Ram: AMD 2200/1G
Comment:

Hi
I have writen a bat file which will further start nine bat or exe files, thus it will cause ten windows pop up in windows Xp
what can I do so that only one window pop up and other will be background like in Unix mechine.
Thank you


Report Offensive Message For Removal


Response Number 1
Name: IVO
Date: January 11, 2005 at 08:50:17 Pacific
Reply: (edit)

To start the applications minimized, so they run as icons on the taskbar, use the folowing statement

Start "" /Min "Application PathName"

Do not forget the "" after the Start otherwise nothing works (you can type a title for the icon to better identification, e.g. "Prog ALFA", instead of "").



Report Offensive Follow Up For Removal

Response Number 2
Name: stimson
Date: January 12, 2005 at 04:27:25 Pacific
Reply: (edit)

Thank you for your help.
The following is my batch file
*******************************************
@ECHO OFF
START "JTalkDB" /Min runServer
START "JTalkMQ" /Min MESSAGEQUEUE3 START "JTalkM" /Min java -jar bootstrap.jar
*******************************************
all files are locate in ABC folder
what should I do such that I just click a .exe file to start the above three programs as one service in windows and terminate the three programs by just stop the service.
Thank you



Report Offensive Follow Up For Removal

Response Number 3
Name: IVO
Date: January 12, 2005 at 07:10:45 Pacific
Reply: (edit)

If you want to run your batch as a Windows 2K/XP service, you need a shareware package (http://www.eltima.com/products/application-as-service/).

Otherwise you can start simultaneously (maybe clicking a desktop icon) your applications via the script you coded, but stopping them in safe mode by one shot is a more complex issue.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Backgroud a bat file in window XP

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes Today.
Discuss in The Lounge