Solutions found in alt.msdos.batch

and alt.msdos.batch.nt

Reboot Windows NT

(without the need to use the Resource Kit)

Walter Zackery posted a batch file to reboot Windows NT without the need to use the Resource Kit:

For NT only: @ECHO OFF & cd/d %temp% & echo [version] > {out}.inf (set inf=InstallHinfSection DefaultInstall) echo signature=$chicago$ >> {out}.inf echo [defaultinstall] >> {out}.inf rundll32 setupapi,%inf% 1 %temp%\{out}.inf del {out}.inf

MAVE <ddlx2@ddlx.ch> wrote in message news:81tve9$bri$1@unlisys.unlisys.net... : I want to restart my NT4.0 with a batch file. How can I do it. : : With rundll32.exe shutdown /l /y /r dont run! : : Thanks : -------------------------------------------------------------------- :

 

More information on .INF files: