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!

Replacement for 'inittab' in WinNT

Status
Not open for further replies.

RonyMC

Programmer
Dec 19, 2000
6
JP
In Unix, the /etc/inittab file supplies the script to the boot init daemon in its role as a general process dispatcher.
Processes typically dispatched by boot init are daemons and shells.

I would like to know if there is a corresponding file in WinNT which can be used to start up a process (in my case an exe). Once the process is started, it must be monitored so that any time this process is killed, it shud be restarted AUTOMATICALLY (refer to 'respawn' action for inittab in Unix manual).
Is there such a provision (automatically restarting a killed process) available in WinNT??? Or shud some other method be tried out??
All suggestions welcome. Thanx in advance.
 
i dont know about autorestarting. but if you go to services you can add any exe or bat file you want to that. isnt linux/unix wonderfull :) Karl Pietri
lordhuh.pota.to

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top