Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close programs with return code

Status
Not open for further replies.

manowar30

IS-IT--Management
Aug 3, 2012
5
DE
Hello together,

Can anybody help me at a VBScript?
The following:

In principle, whether a certain *. exe runs shall be checked.
A message box shall be distributed if in the message Box click yes, that one of the users shall close the Program and then on Ok.
The exe is actually closed click "ok" shall the VBScript end itself after that.
Click "ok" wasn't closed yet, if the program should the message box with the request for the program concludes seem as long as again the exe just isn't running to any more!

Can anyone show me to sctrip this ?

Thank you

Greeting
Joe


Hp:
Want should any wsh not ordered into this happen there I to use this in a MSI package.
 
manowar30,
It is very difficult to understand your post, but the links below might get you started.

If you want your script to close a running process, you can have a look at the thread below, maybe it can be modified to suit your needs:

A summary of Msgbox can be found here:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top