Computing.Net > Forums > Programming > Batch File Help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch File Help

Reply to Message Icon

Name: HeartMan
Date: September 21, 2005 at 13:03:44 Pacific
OS: XP
CPU/Ram: 256
Comment:

I have a batch file that opens MS Outlook, then MS Access. It runs a few macros which will close access. What do I need to add to the batch file to close outlook. Here is a sample of the batch file:

c:
CD\Program Files\Microsoft Office\Office\
START /MIN outlook.exe
c:
CD\Program Files\Microsoft Office\Office\
Msaccess.exe c:\Inetpub\wwwroot\cert\fpdb\mgmt.mdb /x Macro1



Sponsored Link
Ads by Google

Response Number 1
Name: Cache
Date: September 28, 2005 at 15:16:44 Pacific
Reply:

The line below should do the trick:

taskkill /F /IM outlook.exe


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch File Help

batch file help www.computing.net/answers/programming/batch-file-help/13830.html

Batch File Help www.computing.net/answers/programming/batch-file-help-/11464.html

batch file help www.computing.net/answers/programming/batch-file-help/190.html