This is an all-in-one reboot and shutdown program for DOS that works on any
PC, even on ancient 8088 XT and, of course, on a modern ATX one where it
actually powers down the system.
The reboot variants, was code I decided to merge to SHUTDOWN since the data
corruption prevention process is basically the same.
Before any shutdown or reboot occurs, SHUTDOWN will first flush DOS cache
programs, and then perform a DOS file system and disk reset routine on all
available drives.
Please always remember that the SHUTDOWN command MUST have its parameter in
uppercase. Failure to do so will result in no reboot or shutdown operation and
having the command line help text being displayed (which actually tells you to
do things the proper way!).
Partial list of DOS Cache programs that get to be flushed before any shutdown
or reboot:
CD Blitz, Norton Cache, Novell NWCACHE, PC-Cache, PC Tools, QCache,
QuickCache, SmartDrive, Super PC Kwik, and plenty others that have a routine
checking interrupt 13h.
Be aware that there cannot technically be a safe 100% perfect way to stabilize
a DOS system for a proper shutdown or reboot, as interrupts may have been
captured and or be monitored by resident programs that no one can predict
what they might be doing or how to address them. However, SHUTDOWN attempts
to follow common good practices that can "almost always" lead you to a safe
path. SHUTDOWN is indeed much better than pulling the power cord and praying
for the best outcome when it comes to your precious data!
----------------
SHUTDOWN - Powers off or reboots this computer.
Version 2.02 - Copyright (C) Ignacio F. Gully
Syntax:
SHUTDOWN [/Y] [/R] [/W] [/F]
Options:
[/Y] Shuts down the system.
[/R] Cold system reboot.
[/W] Warm system reboot (Not recommended).
[/F] Fast system reboot (May crash your computer. You have been warned!).
Note:
Parameters must be uppercase.
----------------
SHUTDOWN is Public Domain software.
Binary release only.
Ignacio F. Gully
SHUTDOWN's author