Re: How do I get a batch file to exit?
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Tue, 5 Dec 2006 23:10:29 +1100
Batch files terminate automatically after executing
the last line of code.
"Gonzo" <no@xxxxxx> wrote in message
news:ekgv%23WGGHHA.1216@xxxxxxxxxxxxxxxxxxxxxxx
Which part does the exit?the
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:OWmhNLGGHHA.1240@xxxxxxxxxxxxxxxxxxxxxxx
"Gonzo" <no@xxxxxx> wrote in message
news:e5lnOBGGHHA.3464@xxxxxxxxxxxxxxxxxxxxxxx
I have a batch file that opens a peice [piece?] of software, however
runcommand
prompt windows stays open and I want it to exit. thisis an example I
itto
open Word, I thought exit would work but it doesn't. If I close Word
closes the batch file.
cd "c:\program files\microsoft office\office11\"
"C:\Program Files\Microsoft Office\OFFICE11\winword.exe
Exit
The command "Exit" is unnecessary. The rest goes like so:
@echo off
cd /d "c:\program files\microsoft office\office11\"
start /b "MS Word" "C:\Program Files\Microsoft
Office\OFFICE11\winword.exe"
.
- References:
- How do I get a batc file to exit?
- From: Gonzo
- Re: How do I get a batch file to exit?
- From: Pegasus \(MVP\)
- Re: How do I get a batch file to exit?
- From: Gonzo
- How do I get a batc file to exit?
- Prev by Date: Re: How do I get a batch file to exit?
- Next by Date: Windows XP Default Profile - Symantec Scheduled Scans
- Previous by thread: Re: How do I get a batch file to exit?
- Next by thread: Re: How do I get a batc file to exit?
- Index(es):
Relevant Pages
|