First post, by igully
This is a utility I formerly named SHUTDOWN up to v2.05 (27th November 2025)
MSDOS: reboot into boot sequence
It kept evolving into a multi-purposed one. The name change was to reflect the wider array of features and because it was shorter to type on a keyboard.
Overview:
--------
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. It also has a few extras like BIOS password
resetting and attempts to stabilize DOS when chaos ensues.
Before any shutdown or reboot occurs, SANE will first notify Microsoft
Network Client and Novell NetWare. Afterwards, it will flush DOS cache
programs, and then perform a DOS file system and disk reset routine on all
available drives.
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.
In any case, by default, SANE will display text messages that allows users
to follow each internal process as it is being initiated. Redirect to NUL if
you don't want them displayed (Example: SANE /Y >NUL).
Usage:
-----
----------------
SANE - Powers off, reboots, resets BIOS password, and stabilizes DOS.
Version 2.11 - Copyright (C) Ignacio F. Gully
Syntax:
SANE [/Y] [/S] [/R] [/W] [/F] [/B] [/X]
Options:
[/Y] Shuts down the system.
[/S] Shuts down the system for long term storage. This option includes
drive parking and Dallas RTC battery preservation.
[/R] Cold system reboot.
[/W] Warm system reboot (Not recommended).
[/F] Fast DOS restart (May crash your computer. You have been warned!).
[/B] Removes BIOS password and sets CMOS values to default (Expert use only).
[/X] Performs a DOS stabilization process using a 40x25 text screen mode.
Note:
SANE without any option will attempt to stabilize the current DOS system.
It will use a default text screen mode of 80x25. Use /X for 40x25 mode.
Comments, requests and bug reports are welcomed.
The documentation included in the archive contains the above text and further detailed information about the program.
I hope you find it useful.
SANE is Public Domain software.
Ignacio