BAT File to Run 3 Programs

N

nr

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.
 
N

nr

start "Title" "C:\Program Files\PhraseExpress\phrase.exe"

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!
 
S

Shenan Stanley

xed said:
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.

Not really similar, but...

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...)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top