[comp.os.msdos.programmer] PC Cold vs. Warm Boot Detection

rduff@evax.arl.utexas.edu (Robert Duff) (04/19/91)

Is there any way to distinguish in the AUTOEXEC.BAT file between a cold boot (from power up
or reset button) and a warm boot (CRTL-ALT-DEL)?  If so, how?

I would like to be able to perform several operations only at cold boot, such as scanning
for viruses, and others.

Thanks

-------------------------------------------------------------------------------
Remeber the immortal words of Socrates       |  Robert Duff
who said:                                    |  Automation & Robotics Research
          "I Drank WHAT!?"                   |  Institute - (817) 794-5957
                              Chris Knight   |  rduff@evax.uta.edu