Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



BAT File to Run 3 Programs

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 07-12-2007
nr
 
Posts: n/a
BAT File to Run 3 Programs

I'm trying to create a BAT file to run 3 programs and I can't get it
to work. Here's my current code:

@echo off
start "C:\Program Files\PhraseExpress\phrase.exe"
start "C:\Program Files\MemInfo\meminfo.exe"
start "E:\Software\ultra-cpu-monitor_eng\ultra-cpu-monitor.exe"

When run, I get a Command Prompt box, with the path/file name at the
top, with the command at the directory where the BAT file is, and the
programs do not open.

Any ideas how to get this to work? Thanks for any help.

Reply With Quote
  #2  
Old 07-12-2007
Mark L. Ferguson
 
Posts: n/a
Re: BAT File to Run 3 Programs

start "Title" "C:\Program Files\PhraseExpress\phrase.exe"
Reply With Quote
  #3  
Old 07-12-2007
tom
 
Posts: n/a
Re: BAT File to Run 3 Programs

All Dos COMMANDS... For Batch files Click the ( B )
Man I used to know all these Commands in the 80's Before windows .
Reply With Quote
  #4  
Old 07-12-2007
nr
 
Posts: n/a
Re: BAT File to Run 3 Programs

Thanks very much. I had seen the "title" in my search for help but I
thought it wasn't required. I should have tried it. Problem solved!
Reply With Quote
  #5  
Old 04-02-2008
xed xed is offline
Member
 
Join Date: Feb 2008
Posts: 1
hi. i am having a similar problem.
i want to make a batch file that just copies a folder from my network onto my local disk. heres the code im running,

@echo off
f:\
cd\apps
xcopy *.* c:\apps /s

when i click on the bat file nothing happens.
thx in advance
Reply With Quote
  #6  
Old 04-02-2008
Shenan Stanley
 
Posts: n/a
Re: BAT File to Run 3 Programs

Test it - troubleshoot it...
Open a command prompt and run it from the command prompt and don't put in
the @echo off until you get it working.

Or try each line in a command prompt one at a time - if it doesn't work
there - it is not going to work in a batch script.

also...

xcopy f:\apps c:\apps /e /i /h /r /g /c /k /x /y

That should copy everything from f:\apps to c:\apps (creating c:\apps if it
does not exist, copying everything including all subdirectories from
f:\apps, continuing on errors, copying the permissions and even encrypted
files that it comes across and answering any questions to the
affirmative...)
Reply With Quote
  #7  
Old 31-07-2011
Member
 
Join Date: Jul 2011
Posts: 18
Re: BAT File to Run 3 Programs

Hi I am having trouble with this program i am making. I want to start a vbs file at the end but it will not let me. Here I will show you my code:

@echo off
Title hello world
echo hihih
cls
start "C:\Users\Dilon McFarlane\Desktop\grinder.vbs"

Can you help me please?
Reply With Quote
  #8  
Old 31-07-2011
Member
 
Join Date: Jan 2006
Posts: 605
Re: BAT File to Run 3 Programs

Quote:
Originally Posted by dillon7 View Post
Hi I am having trouble with this program i am making. I want to start a vbs file at the end but it will not let me. Here I will show you my code:

@echo off
Title hello world
echo hihih
cls
start "C:\Users\Dilon McFarlane\Desktop\grinder.vbs"

Can you help me please?
You will need to choose the option, Save As to save this file with .bat extension. For example filename.bat. Now Right- click on Start button and choose open > Double click Programs > here open Startup folder. Now drag your .bat file in the Startup folder and close the dialog box. You won't see the batch file run because you told it to run minimized.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "BAT File to Run 3 Programs"
Thread Thread Starter Forum Replies Last Post
How to redirect the output of two programs in the same file Zombi Software Development 5 24-02-2010 09:55 PM
Steps to make .exe file of the Java programs Harper 21 Software Development 5 25-01-2010 07:44 AM
Some programs does not open - File properties missing Warner Operating Systems 2 05-03-2009 06:38 PM
Best File Transfer Programs FTP according to you guys? Kiran123 Software Development 4 16-02-2009 07:41 PM
Top 20 Best P2P file sharing programs and applications kattman Polls & Voting 1 07-02-2009 09:16 AM


All times are GMT +5.5. The time now is 07:53 AM.