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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Waiting for a program termination

Status
Not open for further replies.

LordJudas

Technical User
Apr 18, 2002
11
US
Hi everyone,

I'm writing a VBscript for NT4 SP4 (that means no WMI).
I deploy a package on a desktop, this package set dll registration into KKLM\Soft\MS\WinNT\CurVer\RunOnce then reboot computer.

My script starts with autologon, do some administrative tasks (like applying hotfixes) then spy for rundll32.exe termination and finaly reboot the computer.

My question is how can I spy for rundll32.exe termination using VBScript 5.1 + Wsh 1.1 + NTResKit.

I found the WScript.Shell Exec method but this doesn't work with VBScript 5.1.

Anyone can help me ?

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top