🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5838

PC Cold vs. Warm Boot Detection

#5838
From: Robert Duff
Date: Thu, 18 Apr 1991 18:31
14 lines
1028 bytes
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
Technical Details
Message-ID: <1991Apr18.183109.19231@evax.arl.utexas.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!evax!rduff

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!evax!rduff
From: rduff@evax.arl.utexas.edu (Robert Duff)
Newsgroups: comp.os.msdos.programmer
Subject: PC Cold vs. Warm Boot Detection
Message-ID: <1991Apr18.183109.19231@evax.arl.utexas.edu>
Date: 18 Apr 91 18:31:09 GMT
Organization: Computer Science Engineering Univ. of Texas at Arlington
Lines: 14