WINEXIT Ver 1.00 WinExit is a quick and dirty method of providing multiple methods of exiting Windows. Exit methods provided are: 1) Exit Windows and return to Dos. 2) Restart Windows. Allows for immediate restart of Windows when changes are made to either video modes or system files. 3) Run Dos program. This allows for execution of those nasty Dos programs that should not be run while Windows is running such as CHKDSK. The method exits Windows, runs the program, then immediately restarts Windows when the Dos program is complete. 4) Reboot PC. Provides a quick means of closing Windows and rebooting the PC all in one mouse-click. Excellent when changes have been made to the AUTOEXEC or CONFIG system files. Each one of the methods above will display a prompt prior to performing execution. These prompts can be disabled by selecting the Prompts button on the main dialog box. Each individual method can have prompting disabled or enabled. All settings (prompting, exit method, the Dos program and its associated parameters) are saved into an file called WINEXIT.INI. These setting are recalled the next time WinExit and are then used as program defaults. WinExit also handles command-line options to perform the various methods of exiting Windows. This allows for separate icons to be setup to perform the method of exit you want. Each icon can control exit method, prompting and Dos program to run along with any additional parameters for the Dos program. All command-line options override any defaults set in the WINEXIT.INI file. Command-line options are as follows: WinExit -{Exit Method} [-Ask={yn}] [-Prog={Name}] [-Parms='{Prms}'] {Exit Method} This option defines the method of exit: Exit Restart RunDos Reboot Ask={yn} Selects whether or not to prompt before exit Prog={Name} Supplies WinExit with the name fo the Dos program to be run and may optionally contain the Drive and Path if not in the current directory or in the Dos Path. The program extension (.exe, .com or .bat) must be supplied. Parms='{Prms}' Any additional parameters to pass to the Dos program. These parameters must be enclosed in either single or double quotes and must be in the order the Dos program expects them. Examples: WinExit -Exit -Ask=n Exits Windows without prompting WinExit -RunDos -Ask=n -Prog=chkdsk.exe -Parms='/F' Exits Windows, runs 'chkdsk.exe /f' and restarts Windows without prompting WinExit -Reboot -Ask=y Prompts before exiting Windows and rebooting. This program was written as FREEWARE. Yes, its free for the taking, but with the standard disclaimer that I am not responsible for any damage, loss of data or any other mishaps that may occur when using this program. Any bug reports or comments can be sent to the address below or via Compuserve. Paul Mele P.M. Systems 8385 Tulip Lane Chagrin Falls, Ohio 44023 (216) 543-8739 Compuserve: 70253,2100 Written using WinBatch which means portions are copyrighted by Wilson WindowWare, 2701 California Ave SW, Suite 212, Seattle, WA 98116 1(800)762-8383. The ultimate in WindowWare and a must for anyone's toolbox!