Path: 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 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