NOTES:
YOU MUST REMEMBER to stick a self-adhesive paper label on each of these floppies, and name them let's say: "BOOTUP FLOPPY #1" and "BOOTUP FLOPPY #2" respectively.
From now on you can use the BOOTUP FLOPPY #1 whenever you need to boot from
something else other than your "temporarily impaired" hard disk.
This is my bootup floppy CONFIG.SYS file, which includes
Microsoft's upper/expanded memory manager (EMM386.EXE), the CD-ROM driver (UIDE.SYS) and Microsoft's 32-bit disk access
driver (IFSHLP.SYS):
SWITCHES=/F
DEVICE=A:\HIMEM.SYS /Q
DEVICE=A:\EMM386.EXE I=C800-EFFF
I=B000-B7FF AUTO RAM NOTR
DOS=HIGH,UMB
BUFFERS=11,0
FILES=60
FCBS=1,0
STACKS=0,0
DEVICEHIGH=A:\UIDE.SYS /D:MYCDROM
DEVICEHIGH=A:\IFSHLP.SYS
SHELL=A:\COMMAND.COM A:\ /E:512 /P
SET
PATH=C:\;C:\WINDOWS;C:\WINDOWS\COMMAND;A:\;
SET TEMP=C:\TEMP
SET TMP=C:\TEMP
SET PROMPT=EMERGENCY FLOPPY
BOOTUP!$_$P$G
SET WINPMT=Type EXIT & Hit Enter 2 return 2 Windows!$_$P$G
The CD-ROM driver above (UIDE.SYS), freely distributed, is compatible with most popular
internal IDE/ATAPI compatible cd-rom drives out there: Acer, Creative Labs, NEC, Matsushita/Panasonic, Teac, Toshiba etc,
connected to the motherboard IDE controller.
Note that the PATH line above applies ONLY to typical Windows 95/98 systems
installed in C:\WINDOWS (change the drive/directory if different on your computer).
MS-DOS 5.00 - 6.22 users need this
typical DOS/Windows/WfWG PATH line:
SET PATH=C:\;C:\DOS;C:\WINDOWS;A:\;
ATTENTION MS-DOS 5.00 users: You NEED to place ALL the SET lines (listed above in my CONFIG.SYS) into your AUTOEXEC.BAT file, because MS-DOS 5.00 does NOT support this feature!
And below is my startup floppy AUTOEXEC.BAT file, including Microsoft's CD-ROM extensions driver (MSCDEX.EXE), Microsoft's floppy/hard/cd-rom disk cache (SMARTDRV.EXE) and Microsoft's Mouse driver (MOUSE.COM):
@ECHO OFF
LOADHIGH=A:\MSCDEX /D:MYCDROM /M:16 /E
A:\SMARTDRV 2048 16 A+ B+ C+ D+ E+ F
/N
SET MOUSE=A:\
LOADHIGH=A:\MOUSE
SET DIRCMD=/A/O:GEN/P
SET COPYCMD=/Y
A:\MODE CON: RATE=32
DELAY=1
I've also added the files listed below to my startup floppies (I find them VITAL for performing routine maintenance and diagnostics tasks, trying to determine what might have caused a system lockup):
CRUCIAL: ALWAYS BACKUP YOUR FILES BEFORE MODIFYING THEM!
FYI: See these topics [also part of both W95-11D.EXE + W31-11D.EXE], for more details and guidelines:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
In the right hand pane, you'll see this entry:
Systray "systray.exe"
Double-click on it and rename
Systray.exe to let's say Systray.old.
Click OK. Close Regedit.
HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\SysTray
Set the "Services" DWORD Value
so that the third binary digit is a 0.
I.e. if the Decimal value is currently 7=111 change it to 3=011.
Then
execute Systray.exe, usually located in C:\Windows\System."
Third method courtesy of Bryan.
Next time you'll start Windows the Volume icon will be gone!
BONUS: [;-)]
This UNDOCUMENTED trick works with ALL Windows 9x/NT4/2000/ME/XP/2003 releases.
BUG:
Depending on your installed sound card hardware/software and/or selected Desktop size [especially if using 640x480 screen resolution :(], some of the Play/Recording Volume Control applet [started by running SNDVOL32.EXE = found in %windir% (usually C:\WINDOWS on Win95/98/ME) or %windir%\SYSTEM32 (usually C:\WINNT\SYSTEM32 on WinNT4/2000 or C:\WINDOWS\SYSTEM32 on WinXP/2003)] sliders may display outside the fixed window or Desktop space.
FIX:
In such cases, you can decrease the size of the Sound Volume Properties
window by holding Ctrl and hitting S. Voila... a smaller window, which accomodates ALL available sliders, and
displays inside the screen. :)
This setting takes effect immediately, and it is kept under this Registry key (all
users):
HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Applets\Volume Control\Options
or (current user):
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Volume Control\Options
as DWORD [REG_DWORD] Value:
"Style"=dword:00000200
"Style"=dword:00000020
If you toggle this key combination once again, the original size is restored.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
This key contains a series of subkeys that identify executables/programs following the standard Filename.exe. A list of such subkeys includes:
When you run a "Filename" (without quotes, and without the dot and the "exe"
extension that follows), Windows first looks for it in the Windows folder, then in the Windows\System folder, and after that
in the "PATH" statement, usually mentioned in your AUTOEXEC.BAT file (and loaded in memory at
boot time when AUTOEXEC.BAT is processed), before Windows was started. If Win95/98 doesn't find an executable with that
particular name at any of these locations, it looks into the "App Paths" Registry key. If it
finds the corresponding key, Win95/98 runs the specified executable.
Example: to run Netscape.exe without having to type
its full path (i.e. C:\Netscape\Program\Netscape.exe) every time, create a new Key entry in the left hand pane, and name it
Netscape.exe.
Now double-click on the (Default) string in the
right hand pane and type in:
C:\Netscape\Program\Netscape.exe
Under Netscape.exe, create a new String (right hand pane), and call it Path. Double-click on Path and type this:
C:\Netscape\Program
Close the Registry Editor and restart Windows.
You may need to add to, modify or delete some of these filenames, subkeys or entries, in case you moved an application to another folder or drive (because Win95/98 doesn't adjust the "App Paths" entries in some cases, even if the Microsoft Windows Interface Guidelines claim the opposite), or you can add the paths to your most often used programs/apps/batch files, to speed up your system response.
NOTE: A filename you add/modify doesn't have to be identical to the executable but it MUST match the key name!
NOTE: Windows 95/95a OSR1 systems upgraded with DUN 1.2a/1.2b/1.3/1.4 Upgrade or with the ISDN Modem Update, Windows 95 B/C OSR 2.x, 98/98 SP1/98 SE(U) and ME systems do NOT exhibit this BUG.
To disable the NetBIOS name resolution on a DNS server, especially for TCP/IP Dial-Up Networking Internet hookups, run Regedit and go to:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP
In the right hand pane you can see
the "EnableDNS" String Value entry.
Right-click on it and select Modify. Replace 1 (default value) with
0.
Close Regedit and restart Windows.
FYI: See the "How to Disable NetBIOS Name Resolution on DNS" MSKB article for more details.
BUG: MS Plus! 95 Setup looks in the Registry for previously installed MS Plus! components, "sees" your current MS IE version, and as a consequence aborts, displaying an error message.
FIX: Run Regedit and go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer
In the right hand
pane look for the "IVer" String Value with the default numeric value of "103", but which could be different on
your PC, depending on your particular MS IE build.
Delete the IVer Value: right-click on "IVer" -> select Delete or
press the Del key -> click Yes or press Enter.
Close Registry Editor and restart Windows.
Now install the MS Plus! 95
Pack by running SETUP from the CD-ROM.
CAUTION: Do NOT apply this workaround to Windows 98/98 SE(U)/ME, because MS Plus! 95 installs OLDER system files, which are INCOMPATIBLE with 98/ME!
FIRST CASE:
If you have a serial mouse
connected to the COM1 serial port, you need to set your internal modem for COM4, and if your mouse is on COM2, your modem
needs to be set for COM3.
Why? Simple, because the IBM PC clone has a major limitation: [I wish it would be the only
one... :(] it has only 15 usable IRQs (hardware interrupts), and a maximum of 4 COM (communication) ports. And it's not used
to share (the hardware resources anyway). This is the complete PC/AT COM ports list of valid (hardware default) assigned
resources:
As you can see, the four COM ports share a total of only 2 (two) IRQs:
COM1
+ COM3 use the same IRQ = 4
COM2 + COM4 use the same IRQ = 3
So if you hook up your serial mouse to COM1, you
can't connect your modem to COM3, because they share the same interrupt (IRQ 4). You could have your serial mouse and modem
share the same IRQ, but you'll experience conflicts. Better avoid them. Same is valid with COM2 and COM4 (they share IRQ
3).
EXAMPLE:
Therefore I had to set my modem (Philips PCM33IA internal PnP modem/fax 33.6/14.4 kbps, jumper
adjustable) to use COM3, while my serial mouse is connected to COM2. In ANY other configuration my modem was unable to
properly access the internet.
I had to assign this particular COM port configuration on 3 different PC/AT Pentium class
motherboards:
Intel Plato II Premium Intel Pentium 90MHz + Award BIOS;
Tyan Tomcat 1 S1562 Triton II HX Intel
Pentium 200MHz + Award BIOS;
Megatrends HX83 Triton II HX Intel Pentium 233MHz MMX + AMI BIOS.
SECOND CASE:
Connect your serial mouse to COM port 1. Then if your motherboard BIOS supports it,
go into SETUP (usually by pressing the Del key while your machine is stepping through the boot up sequence). In the
Peripherals screen (available on AMI BIOSes) or similar (depending on your BIOS type), disable Serial/COM Port 2 entirely.
Reboot. Now set your internal ISA modem to use COM port 2 in all your DOS and Windows applications.
EXAMPLE:
I have
done this on a Megatrends HX83 Pentium motherboard with AMI BIOS, using an ISA internal PnP jumperless 3COM/US Robotics 56K
V.90 Winmodem.
... I really hope the new USB (Universal Serial Bus) standard will do away with this annoying limitation once for all.
NOTE: These workarounds don't apply to newer PnP modems that can also use other IRQs, besides the two standard IRQs (3 and 4) used by the four standard COM ports (newer 3COM/US Robotics modems can also use IRQ 7 or 9).
ADD-ON: Windows 95/98 can use higher COM ports (COM5 - COM8) beyond the 4 physical
serial communication ports (default) on a PC/AT computer, alternate IRQs and different base addresses for each of them, in
order to avoid hardware conflicts. For example, you can assign your modem to COM5, IRQ9 and BA180h (but this won't work in
native MS-DOS mode!), but ONLY if you are using a PnP jumperless modem (or a modem that supports other IRQs besides 3 and 4).
And to make all this possible, your PnP BIOS has to support more than 4 COM ports in Windows.
Using higher IRQs also gives
you the advantage of giving your modem higher priority over the standard COM (lower) IRQs: 3 or 4.
PS/2 mice/pointing devices have IRQ 12 assigned by default (usually not used by other devices on a standard PC), therefore avoiding such compatibility issues. BUT to my knowledge, the PS/2 mouse interface is slower than a COM port, IF your motherboard COM ports have a fast UART chip to boot: at least a 16550A. Therefore if you have both a serial AND a PS/2 mouse adapter (some mouse vendors will provide both), and both an external serial (COM) port AND a PS/2 mouse interface on the back of your computer case, then I suggest using the serial plug to hook up your rodent, and then configure your BIOS/Operating System properly to accept it, and avoid IRQ/BA conflicts.
IMPORTANT: To learn your hardware specs and supported standards, read your motherboard/BIOS and modem manuals and help files.
FYI: More info @ MSKB.
Good luck...
DEVICEHIGH=drive:\path\CDROM.SYS /D:MYCDROM
DEVICEHIGH=drive:\path\ASPIDOS.SYS
DEVICEHIGH=drive:\path\ASPIHLP.SYS
DEVICEHIGH=drive:\path\ASPICD.SYS /D:MYCDROM
Replace all "drive", "path" (no quotes) and file names with your actual drive letter(s), directory name(s) and file name(s).
See "CD-ROM DRIVERS 4 DOS", also in MYTIPS95.TXT [part of W95-11D.EXE], for details on DOS mode CD/DVD drivers and (in)compatibilities.
You also need to load MSCDEX.EXE (MicroSoft Compact Disc EXtensions) or a similar TSR in your
AUTOEXEC.BAT, for your CD/DVD drive to be properly recognized by the system in native/real/true/pure MS-DOS mode.
Generic
AUTOEXEC.BAT line for MSCDEX:
LOADHIGH=drive:\path\MSCDEX.EXE /D:MYCDROM
In this
example MYCDROM is the CD/DVD drive name and MUST be IDENTICAL with the one on your CD/DVD device driver line in your
CONFIG.SYS!
The CD/DVD drive name specified with the /D:XXXXXXXX switch on your MSCDEX line may NOT exceed 8
characters (case insensitive), and spaces or punctuation symbols are NOT allowed!
Therefore, do NOT create/rename a
directory on ANY of your fixed/local drives/partitions with the name MYCDROM!
If you do, it won't be recognized, and
you'll get an error message like this:
"Unable to run/copy/move/rename/etc XXXXXXXX.YYY file/directory"
whenever you try to access any file(s) or subdirectories located in that directory, or if you try to delete/rename/move/etc that particular directory.
NOTE: For MSDOS.SYS complete parameters details read the "Complete MSDOS.SYS Reference Page".
NOTES:
1. All .DOS extension files above belong to the previous MS-DOS 6.xx version and are present ONLY
on Win95/98/ME AND MS-DOS 6.xx dual-boot systems!
2. Windows 98/ME's IO.SYS is renamed to JO.SYS (Windows 95/OSR2
renames its IO.SYS to WINBOOT.SYS), if you are booting to an older MS-DOS version (6.xx), in a dual-boot environment,
provided by Win95/98's Startup Menu, option 8 (on networked or TCP/IP enabled systems): "Previous version of MS-DOS".
Read "DUAL BOOT" in MYTIPS95.TXT
and "DUAL-BOOT IN OSR2/WIN98", also in OSR2TIPS.TXT [both part of W95-11D.EXE], to learn how to PROPERLY dual-boot with your version of Windows 95/OSR1 or
OSR2/98/ME!
Some programs (like MS
Windows) and some drivers (like SMARTDRV) need an extended memory driver (like HIMEM.SYS) enabled in order to load properly
and access the provided extended memory (which is usually set to the maximum of installed RAM on the respective system). Each
extended memory device driver has its own limits to the amount of memory it can provide to the system (HIMEM.SYS v3.9x can
enable up to 4 GB of extended RAM = SXMS).
If HIMEM.SYS or another extended/expanded memory manager is not present,
Windows (or/and SMARTDRV) display an error message and abort their loading sequence.
Most other drivers load low (in
conventional memory) if an extended LIM (Lotus/Intel/Microsoft specifications) compatible memory manager is not
detected.
Windows 9x/ME (MS-DOS 7.xx/8.00 actually), loads HIMEM.SYS, IFSHLP.SYS, SETVER.EXE and DRVSPACE.SYS (if disk
compression is detected) even if they are not present in your CONFIG.SYS, BUT it needs to find them in their default
locations, specified in Win9x/ME's Registry files AND in the [Paths] section of your MSDOS.SYS.
Also if you have a SCSI,
an older ESDI/IDE/ATA, or a large FAT32/FAT32X (over 8 GB) hard disk, MS-DOS 7.xx/8.00 (COMMAND.COM) tries to load
DBLBUFF.SYS, the double-buffering device driver, to allow proper operation under the SCSI/ESDI/ATA/FAT32/FAT32X
standards. This is possible only if you kept the file DBLBUFF.SYS in your Windows folder.
NOTE: For
more double-buffering details, read the topics listed below [also part of W95-11D.EXE]:
"DOUBLE BUFFER", also in MYTIPS95.TXT [Win95 and 98 users], and
"WIN98 PHANTOM DRIVE BUG", also in TIPS98.TXT [Win98 users].
If you use any real DOS mode
programs, you may want to load all CONFIG.SYS drivers with the DEVICEHIGH command, to gain more conventional memory (but make
sure you have an expanded/extended memory manager loaded, like Microsoft's EMM386.EXE, to make this possible).
The only
drivers that can ONLY load low (in conventional memory) are the memory managers themselves (HIMEM.SYS and EMM386.EXE, or
similar 3rd party, like QEMM, RM386, 386MAX, etc), so their only choice is the DEVICE command line in CONFIG.SYS.
The
AUTOEXEC.BAT command counterpart for loading TSRs in upper memory (RAM) is LOADHIGH (which can be abbreviated to LH).
FYI:
COMMAND /?
from any MS-DOS prompt, you get this help screen:
"Starts a new copy of the Windows Command Interpreter:
COMMAND [[drive:]path] [device] [/E:nnnnn] [/L:nnnn] [/U:nnn] [/P] [/MSG]
[/LOW] [/Y [/[C|K] command]]
[drive:]path Specifies the directory containing COMMAND.COM.
device Specifies the device to use for command input and output.
/E:nnnnn Sets the initial environment size to nnnnn bytes.
(nnnnn should be between 256 and 32,768).
/L:nnnn Specifies internal buffers length (requires /P as well).
(nnnn should be between 128 and 1,024).
/U:nnn Specifies the input buffer length (requires /P as well).
(nnn should be between 128 and 255).
/P Makes the new Command Interpreter permanent (can't exit).
/MSG Stores all error messages in memory (requires /P as well).
/LOW Forces COMMAND to keep its resident data in low memory.
/Y Steps through the batch program specified by /C or /K.
/C command Executes the specified command and returns.
/K command Executes the specified command and continues running."And the help display stops here. But
now comes the nice part. :)
The COMMAND.COM switches below are NOT DOCUMENTED (so I added them to this list):
/D Prevents the execution of AUTOEXEC.BAT at bootup [MS-DOS 5]
or disables disk "Fail" response if using /F [MS-DOS 6/7/8].
/F Removes the "Abort, Retry, Fail" error message and if the
disk is not ready automatically goes to "Fail".
/T Loads COMMAND module in low RAM and executes AUTOEXEC.BAT.
/Z Displays ERRORLEVEL return code messages after executing
external DOS commands.IMPORTANT: To become familiar with COMMAND.COM's documented command line parameters:
The following COMMAND.COM switches can be included on the
CONFIG.SYS SHELL line (makes the command interpreter permanent until the next reboot): /E, /F, /L, /MSG, /P, /U and
/Z.
Example of Win9x/ME CONFIG.SYS SHELL line:
SHELL=C:\COMMAND.COM C:\ /E:512 /L:128 /U:128 /F /P /Z
All switches can be run from any DOS prompt (except /P and /MSG if you already mentioned them on the SHELL line in your CONFIG.SYS).
NOTE: See "COMMAND.COM HIDDEN PARAMETERS", also in SECRETS.TXT [part of W95-11D.EXE], for complete details on all undocumented COMMAND.COM parameters.
"If you choose Run under the Start Menu, you can click on the down arrow and select any item that is already used in the list. But if your Run list is fairly long, there's a faster way. Type the first letter(s) of the item you want to use, then press the up or down cursor key to select the last entry that starts with that letter (or letters)."
Auto Arrange should be the default selection for all existing folders, and also for all the ones you are
going to create from now on.
To line up a folder's icons (again) by Name, Size, etc., all you need to do is click the
respective "Arrange by..." icon setting.
NOTE: To learn how to stretch your Desktop bitmap to the screen size in Win98, read "STRETCH WALLPAPER", also in TIPS98.TXT [part of W95-11D.EXE].
By editing the Registry you can add a third option: to position the wallpaper anywhere on
your screen by specifying values for the X and Y coordinates.
Run Regedit.exe and go to:
HKEY_CURRENT_USER\Control Panel\Desktop
Create 2 new Strings and call them "WallpaperOriginX"
and respectively "WallpaperOriginY" (don't type the quotes). Give these entries the desired values to position your
bitmap off the center on your Desktop.
Example:
"WallpaperOriginX"="1"
"WallpaperOriginY"="1"
NOTE: The repositioned wallpaper must be smaller than your desktop size (duh...).
MS Plus! for Win95, OSR2 and Win98 users can stretch the
wallpaper size to fit your screen, by adding a new String entry (under the same Registry key above):
"WallpaperStyle"="2"
Don't type the quotes.
Accepted values for "WallpaperStyle" are:
MS Plus! for Win95 users: The wallpaper style can also be changed without modifying the Registry:
Have fun!
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
In the
right hand pane you'll find the "NoSaveSettings" key. No matter what value is given to this Registry key, the
Desktop/Explorer/Control Panel settings will still be modified by Windows 95 again after opening 29 of those windows (that's
the maximum number of window settings "stored" in Windows 95's Registry "memory"). MS IE 4/5 and Windows 98 up this limit to
99.
Now delete the "NoSaveSettings" key. Close the Registry Editor and press F5 after left-clicking your mouse on
an empty Desktop area, to refresh it.
HKEY_USERS\xxxxx\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Substitute the "xxxxx" string above with your password profile name, or look for the ".Default" key if you don't have a password profile:
HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Delete the "NoSaveSettings" key in the right hand pane. Close Regedit and refresh the Desktop (implement Registry settings without a restart), as described above.
From now on all your window "looks" will stay the way you told them
to.
BTW: Have you made a backup copy of your Registry beforehand? I was hoping you'd answer yes to this one. For your own
sake. :)
NOTE: Read "SAVE SETTINGS - Part 2", also in REGISTRY.TXT [part of W95-11D.EXE], for an alternative Registry fix to keep your most used window positions in Windows 95/98.
HKEY_CLASSES_ROOT\CLSID\{FBF23B42-E3F0-101B-8488-00AA003E56F8}\Shell\Open\Command
Double-click the "Default" key in the right hand pane, and change the line that points to Internet Explorer to let's say Netscape Communicator default path and filename (modify it to match the location of your browser executable is different on your system):
C:\Program Files\Netscape\Program\Netscape.exe
Click OK when ready, close Regedit
and press F5 to refresh the Registry.
In case you want to revert back to your default Win95/98 startup browser (Internet
Explorer), type it back into the "Default" String, under the same Registry key above.
Default Internet Explorer
path is:
C:\Program Files\Internet Explorer\Iexplore.exe
NOTE: You may also need to apply these fixes: "DEFAULT BROWSER", also in TIPS95.TXT, and "DEFAULT BROWSER - Part 2", also in REGISTRY.TXT [both part of W95-11D.EXE], to make this trick work properly.