From: Kenneth A. Larsen on

"ekkehard.horner" <ekkehard.horner(a)arcor.de> wrote in message
news:4c5c381c$0$6988$9b4e6d93(a)newsspool4.arcor-online.net...
> cate schrieb:
>> I need a script that will run abc.exe and insure that it returns
>> within a limited time. If it doesn't I need to kill it and send mail.
>> I can send mail and killing a process should be easy (never done it in
>> windows), but how do you start and monitor in jscript/vbscript?
>>
>> I would like just an outline of how to do this please (an example
>> would be great). I'm sure there are many examples out there, but I'm
>> not asking the right questions.
>>
>> In perl I'd fork, but I have NO clue how to do this in windows.
>>
>> Thank you.
>
> use the VBScript Docs to read about the WScript.Shell.Excec method.
>


Dear ekkehard.horner,
If you need a script that will run abc.exe you can write the stuff in
script. And I admit your command. If my plan doesn't work, you can let me
know by emailing me at 2 addresses. LarsenK(a)verizon.net or
kuhlpc#2(a)opptimum.net.

From,
Kenny


From: Kenneth A. Larsen on

"Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
news:%23fPN3hwNLHA.3732(a)TK2MSFTNGP02.phx.gbl...
>
> "ekkehard.horner" <ekkehard.horner(a)arcor.de> wrote in message
> news:4c5c381c$0$6988$9b4e6d93(a)newsspool4.arcor-online.net...
>> cate schrieb:
>>> I need a script that will run abc.exe and insure that it returns
>>> within a limited time. If it doesn't I need to kill it and send mail.
>>> I can send mail and killing a process should be easy (never done it in
>>> windows), but how do you start and monitor in jscript/vbscript?
>>>
>>> I would like just an outline of how to do this please (an example
>>> would be great). I'm sure there are many examples out there, but I'm
>>> not asking the right questions.
>>>
>>> In perl I'd fork, but I have NO clue how to do this in windows.
>>>
>>> Thank you.
>>
>> use the VBScript Docs to read about the WScript.Shell.Excec method.
>>
>
>
> Dear ekkehard.horner,
> If you need a script that will run abc.exe you can write the stuff in
> script. And I admit your command. If my plan doesn't work, you can let me
> know by emailing me at 2 addresses. LarsenK(a)verizon.net or
> kuhlpc#2(a)opptimum.net.
>
> From,
> Kenny
>


From: Kenneth A. Larsen on

"Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
news:%23fPN3hwNLHA.3732(a)TK2MSFTNGP02.phx.gbl...
>
> "ekkehard.horner" <ekkehard.horner(a)arcor.de> wrote in message
> news:4c5c381c$0$6988$9b4e6d93(a)newsspool4.arcor-online.net...
>> cate schrieb:
>>> I need a script that will run abc.exe and insure that it returns
>>> within a limited time. If it doesn't I need to kill it and send mail.
>>> I can send mail and killing a process should be easy (never done it in
>>> windows), but how do you start and monitor in jscript/vbscript?
>>>
>>> I would like just an outline of how to do this please (an example
>>> would be great). I'm sure there are many examples out there, but I'm
>>> not asking the right questions.
>>>
>>> In perl I'd fork, but I have NO clue how to do this in windows.
>>>
>>> Thank you.
>>
>> use the VBScript Docs to read about the WScript.Shell.Excec method.
>>
>
>
> Dear ekkehard.horner,
> If you need a script that will run abc.exe you can write the stuff in
> script. And I admit your command. If my plan doesn't work, you can let me
> know by emailing me at 2 addresses. LarsenK(a)verizon.net or
> kuhlpc#2(a)opptimum.net.
>
> From,
> Kenny
>