Windows 95 Menu | DOS Mode and Windows 95/98 | Full screen |
To run old programs with Windows 95/98 sometimes requires special settings or even running the computer in Pure DOS (Real) Mode. There are settings you can try in order to run the program in a DOS window. Microsoft has a list of programs that will not run or will not run properly in a Windows environment.
There are three ways to run in DOS mode:
Notes about using DOS ICONS.
DOS Window
|
DOS IconsYou can create an Icon or menu item that will shut down Windows and restart the computer, load only the drivers needed for that program, then start the program in DOS mode. You can put an Icon on the desktop for the program. That way you can start the program with just a click of the mouse, like any windows program.
Now, when you click on this item, Windows will create bootup files for the program and restart the computer to run the program. When you exit the program, Windows will restore the normal boot files and restart the computer. You can have as many programs set up this way as you need. Depending on the memory requirements you could have a DOS MENU batch file so you can switch to different games without starting Windows each time you want to run a different DOS game. |
Notes on using DOS Icons |
When you run a program using this method, the normal AUTOEXEC.BAT and CONFIG.SYS files are renamed and replaced with files used to boot the computer for the DOS game or program. The AUTOEXEC.BAT will have a script that reloads the original boot files when you exit the DOS program.
Sometimes this fails. This leaves you stuck in the DOS mode. The first method to recover from this is to (at the DOS Prompt) type: |
dir c:\config.* dir c:\autoexec.* |
You should see a list of files which include: |
config.sys config.wos autoexec.bat autoexec.wos |
The files with the "WOS" extension are the original boot files. If Windows finds these files, it will stay in the DOS mode (unless those files start Windows). You don't want to delete these files if they are your original boot files. You can rename the CONFIG.SYS file and AUTOEXEC.BAT file with other names instead of deleting them, if you are not sure. You can restore them by typing: |
del c:\config.sys ren c:\config.wos c:\config.sys del c:\autoexec.bat ren c:\autoexec.wos c:\autoexec.bat |
If you do rename them, be sure to delete them if the system returns to normal. Otherwise, you could end up with a collection of files with no use. |
The CONFIG.SYS file | |
DEVICE=C:\WINDOWS\HIMEM.SYS /testmem:off | The most necessary line. |
DEVICE=C:\WINDOWS\EMM386.EXE RAM | Optional; If your program needs EMS memory, you must specify RAM. If not, you can change RAM to NOEMS so all memory is available for XMS memory. |
DOS=HIGH,UMB | This moves the boot system into the upper memory to free up Conventional memory. UMB provides blocks of upper memory for other devices to be loaded in. |
DEVICEHIGH=C:\CDROM\CDROM.SYS /D:IDECD001 | If you will need access to the CDROM Drive, you must set up the DOS Mode drivers. DEVICEHIGH= loads the driver into the UMB. |
BUFFERSHIGH=40 | BUFFERS= Provides a temporary storage for DOS programs. BUFFERSHIGH= (Windows 95 and later) frees more conventional memory. |
FILESHIGH=40 | FILES= Allows Programs with multiple scenes or windows memory for running them. FILESHIGH= (Windows 95 and later) frees more conventional memory. |
The AUTOEXEC.BAT file | |
ECHO OFF | This option keeps the commands from being double presented on the screen. |
path=c:\windows\;c:\windows\command | Optional; adding a directory will make commands in that directory work from any directory. |
SET BLASTER=A220 I7 D1 H5 P330 T6 | Optional; If the program uses sound, you will need soundcard settings and drivers for your soundcard. |
lh c:\mouse\mouse.com | Optional; You will probably need the Mouse. lh loads the program in high memory. |
lh c:\windows\command\mscdex.exe /d:idecd001 /v | Optional; If you need the CDROM at DOS, add this in combination with the CONFIG.SYS CDROM reference. If you specify a letter for the drive in Windows (which I prefer) it can cut confusion if you specify the same letter in DOS mode. |
DOS MODE from the Shutdown MenuAnother program you may want to load here is the Mouse driver. Use the same commands that you would use in the AUTOEXEC.BAT. If the DEVICE=C:\WINDOWS\HIMEM.SYS is setup in the CONFIG.SYS file and DOS=UMB is also set up, you can use the LH to load the programs in high memory. Because memory has been used by Windows, most programs will load low. If there is adequate resources to run the DOS program, fine. This method loads faster and you can go back to Windows Mode faster. But if it doesn't work, you can use DOS Mode Icons or Boot Menus. Both of those give you more control over the program. |
DOS MENU BATCH FILE |
B) Game 2 C) Game 3 Q) Quit this menu and return to Windows. Type the letter of your choice! |
The DOS Mode boot files must contain the Memory managers, Mouse drivers, Sound drivers, CDROM drivers as needed for the program you will run. You also need the ANSI.SYS driver if you want color on your menus. See BATCH Files for information on creating a menu.
If you want the computer to return to Windows when you exit the DOS Program Menu Batch (whatever you name it), under the AUTOEXEC.BAT section, use call to run the batch as |
Comment to PoliTalk |