Detailboy wrote:
>Thanks everyone for all your suggestions on this but from what I've
>discovered it cannot be done in Win 3.1x.
Funny, I just did it with several programs launched in pure DOS mode.
>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 did try it on my AMD K6-2 400, 64MB RAM, 4MB AGP, MS-DOS 6.2, WFW 3.11
but the hardware is probably very irrelevant here.
>I've tried:
>EXITEXEC.EXE
Me too - and it works great! I can only assume that you did something like
this:
exitexec.exe program_which_is_in_the_path
But you need to do like this:
exitexec.exe path\program.extension
And voila, everything works :)
For those who want exitexec I'll quote a mail I got today:
"Go to http://www.calmira.org
This will not only give you a Windows Explorer for Windows 3.1, but it
will make your Windows 3.1 look and feel just like (okay, better than)
Win95.
The source code, written in Delphi, is also included.
Joe Caverly"
Actually Joe, since it looks like W95 I wasn't very interested (I did
download it and tried it) but thanks anyway. What I asked for was a program
for windows 3.x and one for 95 that will look like winfile.exe but have LFN
(in 95) and be faster (both). I guess I could dig up Delphi from a CD in my
room and write myself such a thing (I've not bothered to ask any of my
friends for ex. Borland or M$ development platforms for C/C++ for Windows
yet).
>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.
Create a "programobject" (translated from my swedish version of Windows, is
this the correct name?) with the program to be run as exitexec.exe
path\program.extension
>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".
Ok, I didn't test this - but it's irrelevant since I run QV which will not
run in Windows.
>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.
IMHO this test might not be the best one. Don't let a single environment
variable be the judge. Instead let some program that wont work in Windows
be the judge.
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.