954,307 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Closing batch script after .exe is called

Hey, I've got a littl batch script that backs up some files for me, and the last line opens up Outlook with the CALL command:

CALL "C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"


The Problem is, the batch script wants to wait till OUTLOOK.EXE has finished executing before it runs the rest of the script, which means it sits there till I close outlook. Can I have it open up oulook, then continue on with the rest of the script as if that command had finished?

Thanks.

nathanpacker
Posting Whiz in Training
234 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

Hey, I've got a littl batch script that backs up some files for me, and the last line opens up Outlook with the CALL command:

CALL "C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"

The Problem is, the batch script wants to wait till OUTLOOK.EXE has finished executing before it runs the rest of the script, which means it sits there till I close outlook. Can I have it open up oulook, then continue on with the rest of the script as if that command had finished?

Thanks.

I think you are looking for this:

start "C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"
batman42ca
Newbie Poster
2 posts since Nov 2010
Reputation Points: 10
Solved Threads: 0
 

Check the dates of posts before replying buddy. Old thread.

nathanpacker
Posting Whiz in Training
234 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

Ah, yes, but batman did complete the thread. Which is good for other solution seekers. Blind threads on the net are annoying.

gerbil
Industrious Poster
4,209 posts since May 2005
Reputation Points: 239
Solved Threads: 302
 

Very true. My bad.

nathanpacker
Posting Whiz in Training
234 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

Yes, I realized it was an old thread but I posted because I was looking for an answer to the same question. I figured it out and thought it would be a good idea to post the solution for the next person that stumbles across this.

batman42ca
Newbie Poster
2 posts since Nov 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You