Thanks everyone for all your suggestions on this but from what I've
discovered it cannot be done in Win 3.1x.
I wanted this for some DOS games I have that in their user manuals say
that the games do not run with Windows and will crash Windows; Jazz
Jackrabbit and Nitemare 3D. I've tried all sorts of .PIFs and exit
utilities and after several minutes the game will crash. But from DOS
these games play great and never crash.
Please don't reply saying you tried this on your P-III 1Ghz, 1GB RAM
with Win 2000 and you had no problems. I'm using a 386sx-20Mhz, 4MB,
VGA-256K, DOS 6.22, WFW 3.11 and with that setup it cannot be done.
I've tried:
EXITEXEC.EXE
WINEXIT.EXE
EXITWIN.EXE
and it's impossible from a program item "command line" to exit Windows
completely, run a DOS program in "pure DOS"; not a COMMAND.COM session
in Windows, exit the DOS program, then restart Windows.
To test if you've truly exited Windows using one of the above exit
utilities, enter the command line path to COMMAND.COM; Windows will
appear to exit to a DOS prompt; type "SET" at the DOS prompt to test if
Windows has truly exited.
You haven't exited Windows if you see:
windir=c:\windows
The environment variable "windir" identifies in which directory Windows
resides. It only exists when Windows has been loaded and does not exist
when you type "SET" at the DOS prompt in "pure DOS".
Unless there is some way to do this in Win 3.1x, only Win 9x has the
ability using a shortcut to exit Windows completely, run a DOS program
in "pure DOS" then restart Windows after exiting the DOS program:
Properties, Program tab, [Advanced], [x] MS-DOS mode.
I tested this using the "SET" command and only Win 9x can do this.
If you know how to do this in Win 3.x, please test it yourself using the
"SET" command to verify that you've really exited Windows, then please
share with us all.
*** |===| PACKARD BELL * Pack-Mate Legend 386x ***
* __|___|__ 386sx-20Mhz, 4MB, VGA-256K, DOS 6.22/WFW 3.11 *
* |_____==_=|~~ MY OTHER COUNTING BOARD IS AN ABACUS! *
*** /#########\ [] Quote original messsage when replying ***
To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.