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.
Re: BAT File to Run 3 Programs
start "Title" "C:\Program Files\PhraseExpress\phrase.exe"
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 .
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!
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...)
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?
Re: BAT File to Run 3 Programs
Quote:
Originally Posted by
dillon7
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.