home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 24 DOS / 24-DOS.zip / doswitip.zip / MYTIPS31.TXT < prev    next >
Text File  |  2002-05-07  |  239KB  |  5,282 lines

  1.                 AXCEL216's MAX Speeed
  2.                 Windows/WfWG 3.1x + DOS 6.xx
  3.             ⌐Tricks, Secrets, Tweaks, Speed-Ups + Fixes
  4.  
  5.  
  6.  
  7.  
  8. These topics refer to ALL Microsoft Windows/WfWG 3.1x and MS-DOS 6.xx final
  9. (Gold) releases, unless specified otherwise!
  10.  
  11. My Win31/DOS6 ⌐tricks are also available at:
  12. http://members.aol.com/axcel216/w31.htm
  13.  
  14. WARNING: FIRST BACKUP ALL YOUR HARD DRIVES TO A SAFE LOCATION BEFORE
  15.      ATTEMPTING TO MAKE ANY SYSTEM CHANGES!
  16.      Take EXTREME CAUTION when modifying your System settings! Faulty
  17.      changes may result in computer crashes/lockups/permanent data loss,
  18.      or might lead to having you REINSTALL the ENTIRE Operating System(s)!
  19.      YOU are the ONLY one responsible for ANY changes YOU make!
  20.      ALWAYS HAVE YOUR MOST RECENT SYSTEM BACKUP READY!
  21.  
  22. BEWARE: These ⌐tricks have been tried by others (and most by me), but with NO
  23.     guarantee they will also work for YOU!
  24.  
  25. CREDITS: Some of these tips I stumbled upon while browsing the Internet or
  26.      while helping others with WinDOwS problems, some were kindly sent in
  27.      by concerned readers (all authors/contributors are acknowledged and
  28.      reliable sources given proper credit) and some I discovered myself.
  29.      Enjoy the ride!
  30.  
  31. NOTE:    Contributors tips (clearly marked) posted here do not necessarily
  32.     reflect the opinion of the author of these files.
  33.  
  34. Please send me your comments, corrections, tips at:
  35. axcel216@aol.com
  36.  
  37. MUST HAVE [99.99% FREE(ware)] from SOFTWARE.TXT (included):
  38. - WINDOWS/WFWG 3.1x ESSENTIAL FREE UPGRADES + FIXES:
  39. http://members.aol.com/axcel216/w31toy.htm#W3X
  40. - WINDOWS/WFWG 3.1x POWER TOYS:
  41. http://members.aol.com/axcel216/w31toy.htm#W31
  42. - MS-DOS 5.00 - 8.00 ESSENTIALS:
  43. http://members.aol.com/axcel216/dos.htm
  44. - Speeed-Up + BenchMark Tools:
  45. http://members.aol.com/axcel216/speed.htm
  46.  
  47.  
  48. MYTIPS31.TXT Contents: [New "⌐tricks" added at the BOTTOM]
  49.  
  50.  
  51. WIN31 TIPS SITES ON THE INTERNET
  52. SET TEMP [*]
  53. LOCALLOADHIGH [*]
  54. LASTDRIVE [*]
  55. MEDIA PLAYER
  56. CONTROL PANEL
  57. DITCH DRVSPACE/DBLSPACE
  58. WIN.COM SWITCHES
  59. SWITCHES [*]
  60. SYSTEM.INI TWEAKS [*]
  61. BLINK... NOT!
  62. AUTOMATIC ZIP
  63. RESTORE AFTER INSTALL
  64. WATCH YOUR PROMPT
  65. AVI PLAYBACK
  66. LOAD/RUN
  67. FIND FAST
  68. DATE/TIME FUN
  69. FAST, FAST, FAST
  70. SWAP FILE
  71. HARD DRIVE THRASHING
  72. FIXED SWAP FILE
  73. WRONG PATH
  74. :: OR REM?
  75. ORDER, PLEASE!
  76. SPEAKER CHALLENGE [+]
  77. NOTEPAD STAMP [+]
  78. NO LOGO [+]
  79. SYSTEM DLLS
  80. MODEM COM PORT
  81. HELP!
  82. DOS MULTITASKING
  83. GOOD OL' UNDELETE
  84. BOOTUP FLOPPY
  85. COMMAND.COM
  86. OUTSMART SMARTDRIVE [*]
  87. DOUBLE BUFFER [*]
  88. SHELL ENVIRONMENT SIZE [*]
  89. CD-ROM DRIVERS 4 DOS [UPDATED 3-3-1998]
  90. %WINDIR% VARIABLE
  91. TEMP FILES, BE GONE!
  92. POWERFUL XCOPY
  93. AUTOEXEC.BAT X 2
  94. SERIAL KILLER! [UPDATED 4-24-1998]
  95. CD-ROM NAME
  96. STUBBORN CONTROL PANEL APPLET
  97. PERSONAL MANAGER [+]
  98. DUAL BOOT
  99. Win95/98/NT EASY MIGRATION [+]
  100. RELEASE MY MODEM!
  101. BAD MEMORY?
  102. IDENTIFY "NO NAME" CARDS [+]
  103. EXTRA ASCII CHARACTERS [+]
  104. MICROSOFT KNOWLEDGE BASE MADE EASY
  105. RESTRICTED ACCESS
  106. HIDDEN DIRECTORY [+]
  107. BLUE (OR ANY OTHER COLOR) SCREEN OF DEATH
  108. LOCK UP THE DOS BOX
  109. RESTORE CORRUPTED REG.DAT
  110. BYPASS SAVER PASSWORD
  111. 9X/2000/NT/ME/XP/3.1X MULTIBOOT SWAP FILE
  112. IE BLANK PAGE OFF
  113. DETECT WINDOWS [+]
  114. CUSTOM NETSCAPE THROBBER
  115. REPLACE SYSTEM FONT
  116. BACKUP MBR WITH DEBUG [+]
  117. REBOOT WITH DEBUG
  118. DEBUG BIOS PASSWORD [+]
  119. URL PASSWORD
  120. COLORFUL HELP
  121. PROXY AD BLOCKER [+]
  122. 3D CONTROLS FOR 3D EFFECTS
  123. EDIT BOOT FILES [*][+]
  124.  
  125.  
  126. NOTES:    - Topics marked with an asterisk [*] are also memory management tips,
  127.     and they are also detailed in MEMORY.TXT (included).
  128.     - Topics marked with a plus [+] have been submitted by concerned
  129.     readers. MANY THANKS, guys!
  130.     - ALL other UNique/ORIGINAL ⌐tricks in this file were UNcovered by me
  131.     unless stated otherwise, and you canNOT find some of them ANYWHERE
  132.     ELSE!
  133. ______________________________________________________________________________
  134.  
  135.  
  136.  
  137. WIN31 TIPS SITES ON THE INTERNET
  138.  
  139.  
  140.  
  141. And if you thought nobody is using Windows 3.1 anymore... think again. :)
  142. Check out these dedicated Windows/WfWG 3.xx Tips + Info web sites:
  143. - Microsoft Windows 1.0 - 3.11 Version History:
  144. http://support.microsoft.com/support/kb/articles/q32/9/05.asp
  145. - Microsoft Windows for Workgroups 3.1 - 3.11 Version History:
  146. http://support.microsoft.com/support/kb/articles/q126/7/46.asp
  147. - MS TechNet Archive => click left side [+] Windows for Workgroups link:
  148. http://www.microsoft.com/technet/archive/
  149. - ZDNet: Windows 3.1 Guide:
  150. http://www.zdnet.com/windows/31/
  151. - About.com Windows 3.x Resources:
  152. http://windows.about.com/cs/windows3x/
  153. - Windows 3.1 Tips:
  154. http://www.tipsdr.com/win31tips.html
  155. - Mega 16-bit Windows 3.xx Tips:
  156. http://www.albedo.net/~arvic/fw-tips.html
  157. - Logical Sky Windows 3.1 FAQ:
  158. http://www.logicalsky.com/Windows31_FAQ.htm
  159. - Windows 3.x 16 bit OS:
  160. http://www.undercoverdesign.com/dosghost/html/winos.htm
  161. - MS WINDOWS 32-BIT FILE ACCESS FAQ:
  162. http://www.os2site.com/sw/hardware/storage/32bfafaq.txt
  163. - Fix GPFs in Windows 3.1:
  164. http://www.uwo.ca/its/doc/hdi/web/netscape/gpf.html
  165. - PAI YILI'S WINDOWS HELP PAGES:
  166. http://www.windowswarrior.com/wintips2.htm
  167. - Denken Tips for Windows 3.1/3.11:
  168. http://www.denken-digital.com/tips/tips431/tipsfor31_10.htm
  169. - Computer Hope Information about Windows 3.x:
  170. http://www.computerhope.com/win3x.htm
  171. - Centreline 2000 MS Windows 3.1 Tips:
  172. http://www.c2000.com/mswindow/msf_idx1.htm
  173. - Windows 3.1 Support:
  174. http://micro.uoregon.edu/win31/
  175. - PowerLoad Windows 3.x Resources:
  176. http://www.powerload.fsnet.co.uk/win3x.htm
  177. - Connect Windows + DOS:
  178. http://www.kime.net/directcc/
  179.  
  180.  
  181.  
  182. SET TEMP [*]
  183.  
  184.  
  185.  
  186. If for any reason (i.e. increased speed) you decide to choose a different
  187. "temp" (temporary) directory for storing Windows temporary files, let's say
  188. for example a RAM disk, or a different (hard) drive/partition, you will need
  189. to add these 2 lines at the end of your CONFIG.SYS file (found in C:\ root):
  190. SET TMP=C:\TEMP
  191. SET TEMP=C:\TEMP
  192. considering C:\TEMP the new "temp" directory on your boot drive.
  193. To create the new directory C:\TEMP, before rebooting with the new
  194. Config.sys, run this command at a DOS prompt:
  195. MD C:\TEMP
  196. Then delete the Windows default "temp" directory: C:\WINDOWS\TEMP (and if
  197. there are any SET TEMP= or/and SET TMP= lines in your Autoexec.bat you'll
  198. have to remove or REMark them too). Example of REM-ed lines:
  199. REM SET TMP=C:\WINDOWS\TEMP
  200. REM SET TEMP=C:\WINDOWS\TEMP
  201. Or try this REMark alternative [the double colon (::) notation below works
  202. ONLY in Autoexec.bat, but you can use the semicolon (;) REMark notation in
  203. Config.sys]:
  204. :: SET TMP=C:\WINDOWS\TEMP
  205. :: SET TEMP=C:\WINDOWS\TEMP
  206. Reboot, and you're done.
  207.  
  208. ADD-ON:
  209. To "clean" your TEMPorary directory of obsolete .TMP files every time upon
  210. boot, add these lines at the end of your Autoexec.bat, AFTER the "SET TEMP="
  211. and "SET TMP=" lines (if you included them in this file):
  212.  
  213. IF NOT EXIST %TEMP%\*.TMP GOTO NO
  214. ATTRIB +A -H -R -S %TEMP%\*.TMP
  215. DEL %TEMP%\*.TMP
  216. :NO
  217.  
  218. NOTE: MS-DOS 5.00 or older allows SET <variable> commands ONLY in
  219. AUTOEXEC.BAT, but NOT in CONFIG.SYS.
  220.  
  221.  
  222.  
  223. LOCALLOADHIGH [*]
  224.  
  225.  
  226.  
  227. For maximum DOS memory in a DOS session/box/window under Windows 9x/ME/3.1x,
  228. add/modify this line to read:
  229.  
  230. LocalLoadHigh=1
  231.  
  232. under the [386Enh] section of your SYSTEM.INI file, found in your Windows
  233. directory/folder. This will give you an extra 2-12 KB (or more, depending on
  234. your system configuration) of conventional (low) memory (RAM) in DOS sessions.
  235. This setting determines the way Windows uses the Upper Memory Blocks (UMBs) in
  236. a DOS session. Valid values are disabled (0, off, no or false) and enabled (1,
  237. on, yes or true). Any of these values are recognized. Default is disabled,
  238. equivalent to this SYSTEM.INI line:
  239.  
  240. LocalLoadHigh=0
  241.  
  242. If this line is absent (default), Windows uses the entire Upper Memory Area
  243. (UMA) available, leaving no extra UMBs for DOS sessions running in protected
  244. mode, each in its own Virtual Machine (VM).
  245. If this entry is enabled, Windows does not use the entire UMA, thus making
  246. UMBs available to each VM (DOS session).
  247. If you load your DOS mode TSRs/drivers/devices high (in upper memory) in your
  248. CONFIG.SYS and/or AUTOEXEC.BAT files (using "DEVICEHIGH" and "LOADHIGH"
  249. respectively, enabled by the HIMEM.SYS and EMM386.EXE memory managers "combo"
  250. in your Config.sys), and have a memory configuration (on bootup, before
  251. launching Windows) of less than 16 KB of free upper RAM (the Upper Memory
  252. Area is the first 384 KB of memory above the 640 KB boundary), make sure to
  253. remove, or better, remark the following line with a semicolon (;), in the
  254. [386enh] section of your SYSTEM.INI file:
  255.  
  256. ; LocalLoadHigh=1
  257.  
  258. CAUTION: If this line is enabled, you may NOT be able to start Windows with
  259. less than 16 KB of free upper memory on certain system configurations!
  260. On some systems, you might find necessary to add/modify the following line
  261. under the [386enh] section of your SYSTEM.INI file to read:
  262.  
  263. EMMExclude=A000-FFFF
  264.  
  265. to provide better compatibility with 3rd party memory managers (i.e. QEMM,
  266. NetRoom, 386MAX, UMBPCI.SYS etc) or TSRs (Terminate and Stay Resident
  267. programs) loaded in your startup files (CONFIG.SYS and AUTOEXEC.BAT).
  268. Also, you might want to remove all the WIN= switches from the EMM386.EXE
  269. line in your CONFIG.SYS file (located in the root directory of your boot
  270. drive, usually C:\). Example of EMM386.EXE line with two WIN= switches:
  271.  
  272. DEVICE=C:\WINDOWS\EMM386.EXE WIN=EE00-EFFF WIN=E000-ECFF I=B000-B7FF RAM AUTO
  273.  
  274. Remark the entire EMM386.EXE DEVICE line (put REM or a semicolon in front
  275. of it), and copy it as the next new line, but this time delete the WIN=
  276. switches. Open CONFIG.SYS with Notepad in Windows, or with EDIT.COM in DOS
  277. (the MS-DOS text/ASCII editor), whichever you're comfortable with.
  278. NOTE: You need to restart Windows every time after making ANY changes to your
  279. SYSTEM.INI.
  280.  
  281. ... And don't forget to BACKUP YOUR SYSTEM.INI BEFORE MAKING ANY CHANGES!
  282.  
  283.  
  284.  
  285. LASTDRIVE [*]
  286.  
  287.  
  288.  
  289. If you don't specify a LASTDRIVE= line in your CONFIG.SYS, Windows/WfWG 3.1x
  290. sets the last drive to Z by default (that's a total of 26 drive letters, what
  291. a waste!), similar to:
  292. LASTDRIVE=Z
  293. If you are not connected to or using a network or a direct cable/peer to peer
  294. link, you lose a few hundred bytes of low or upper DOS memory, because you
  295. probably have a total of 3 to 9 drives (logical partitions and removable
  296. drives included) in your system (about 7 if you use a disk compression
  297. utility, like Drvspace or Dblspace, bundled with Win9x or MS-DOS 6.xx).
  298. Every additional drive letter mentioned on your LASTDRIVE line takes up 96
  299. bytes of conventional memory in MS-DOS 5.00/6.xx, or upper memory in
  300. Windows, but ONLY if using an extended/upper memory manager, i.e.
  301. EMM386.EXE, included by Microsoft with your operating system/environment,
  302. begining with MS-DOS version 4.00.
  303. If you use Drvspace, Dblspace, Stacker, or any other disk compression
  304. utility, change (or add if not present) the LASTDRIVE= line to read:
  305. LASTDRIVE=M
  306. Examples:
  307. If you don't use any disk doubler/compression tool, change it to:
  308. LASTDRIVE=D
  309. if you have 1 hard disk (HD) and 1 CD-ROM drive installed.
  310. If you have 2 HDs and 1 CD-ROM or 1 HD and 2 CD-ROMs, you need:
  311. LASTDRIVE=E
  312. If you have 2 HDs and 2 CD-ROMs or 3 HDs and 1 CD-ROM:
  313. LASTDRIVE=F
  314. You get the idea.
  315. The rule of thumb is to assign an additional drive letter to your system, on
  316. top of the last letter used by your last drive/partition.
  317. Some are using RAM (virtual drives in the system's memory) or removable
  318. (backup) drives. Don't forget to count them in!
  319. Don't bother counting the floppy drive(s) on your machine, they ALWAYS take
  320. the first 2 letters: your first floppy drive is A (usually 3.5", 1.44MB), and
  321. if you have a second (i.e. 5.25" 1.2MB floppy) drive, that would always have
  322. assigned the letter B.
  323. Even if you don't have a secondary floppy drive (B), your first (bootable)
  324. hard drive/partition is always C.
  325. NOTE: ALWAYS BACKUP YOUR STARTUP FILES BEFORE MAKING ANY CHANGES: AUTOEXEC.BAT
  326. and CONFIG.SYS (located in the root directory of your boot drive, C:\ by
  327. default).
  328. From a DOS prompt, run:
  329. MEM /C /P
  330. and write down the amount of your free conventional/upper memory.
  331. Then edit your CONFIG.SYS with Notepad in Windows or EDIT.COM in DOS, place
  332. LASTDRIVE= as one of the first lines (after the DOS=HIGH,UMB line), save the
  333. changes and reboot.
  334. Go to that DOS prompt one more time, and run:
  335. MEM /C /P
  336. again, to see if you gained any more free upper or/and conventional memory.
  337.  
  338.  
  339.  
  340. CLOSE THAT BATCH!
  341.  
  342.  
  343.  
  344. To have your DOS style batch files close automatically upon completion,
  345. whenever executed from a Windows icon/shortcut or by (double)-clicking the
  346. respective program PIF (Program Information File = MS-DOS Program Properties):
  347.  
  348. - WinME users: you don't need to do anything. :)
  349. PIF files are set by default to close automatically in Windows ME: the "Close
  350. on Exit" box (see below) is already checked.
  351.  
  352. - Windows 95/98 users: right-click on the icon/PIF -> click Properties ->
  353. select the Program tab -> check the "Close on Exit" box -> click the Misc tab
  354. -> uncheck the "Warn if still active" box -> click OK/Apply.
  355.  
  356. - Windows/WfWG 3.1x users: run the PIF Editor (PIFEDIT.EXE = located in your
  357. Windows directory) -> browse to the PIF file of your choice -> double-click on
  358. it -> click Advanced -> check the "Close on Exit" box -> uncheck the "Warn if
  359. still active" box -> click OK to apply changes.
  360.  
  361. - ALL Windows 9x/ME/3.1x users: add this line:
  362. EXIT
  363. as the LAST line in ALL your DOS batch files that run in a Windows DOS session
  364. (box), to make sure they automatically return control over to the GUI
  365. (Graphical User Interface) upon completion.
  366.  
  367. Edit your BATch files with Notepad in Windows or EDIT.COM in DOS.
  368.  
  369.  
  370.  
  371. MEDIA PLAYER
  372.  
  373.  
  374.  
  375. Undocumented! You can configure Media Player (MPLAYER.EXE, installed in your
  376. \WINDOWS directory by default) to open, play once, and then close any of the
  377. media clip files found on your hard drive and/or cd-rom (AVI, FLI, FLC, MID,
  378. RMI, WAV, MPG, MPE, MOV, 3D, MMM, DAT etc).
  379. Run REGEDIT /V from Program Manager's Run command line, and scroll down into
  380. the REG.DAT's window until you find the files associated with MPLAYER.EXE.
  381. In the top edit box, type a space after "C:\WINDOWS\Mplayer.exe", and then
  382. type "/play /close" (without quotes).
  383. The text in the box should look like this (don't type the quotes):
  384. C:\WINDOWS\Mplayer.exe /play /close
  385. Save the changes to REG.DAT (you may want to make a backup copy of your
  386. original REG.DAT, just in case something happens along the way!).
  387. You can repeat this operation with all media clip files listed above.
  388. From now on, when you double-click a MID or WAV file etc... Mplayer will
  389. play the file once, and then exit, without prompting you for action, or
  390. waiting for you to manually click all the necessary buttons. This is also
  391. useful for previewing new media files. Enjoy!
  392.  
  393. UPDATE:
  394. I've come up with an easy way to do all this from a single double-click.
  395. There is a file called MPLAYER.REG (a modified version of the original
  396. MPLAYER.REG that comes with VfW 1.1e files) included in this archive, that
  397. already has all of the above modifications made to allow Mplayer to play
  398. once and then close all your media clip files you might have installed on
  399. your Windows/WfWG 3.1x system.
  400. All you have to do is double-click on it, and Windows registration database
  401. will be updated with these new settings. For this to work, you need to have
  402. OLE 2.0x extensions installed on your Windows/WfWG 3.1x system.
  403. Video for Windows (VfW) 1.1e (newest version) is available (free) from:
  404. http://www.cnunix.com/ftp/win3/WFW311/WV1160.EXE
  405. and contains all OLE 2.02 components, which are installed by the same SETUP
  406. that installs VfW 1.1e on your Windows/WfWG 3.1x system.
  407. MPLAYER.REG is a plain text file and can be viewed/edited with Notepad.
  408. NOTE: You also need to have the proper MCI (Media Control Interface) drivers
  409. properly installed to have media clip files associated with Media Player!
  410. To see a list of all MCI drivers installed, open your SYTEM.INI file
  411. (located in \WINDOWS) with Notepad, and scroll down to the [mci] section.
  412. It should look something like this:
  413.  
  414. [mci]
  415. waveaudio=mciwave.drv 9
  416. sequencer=mciseq.drv
  417. AVIVideo=mciavi.drv
  418. animation1=mciaap.drv
  419. cdaudio=mcicda.drv
  420. QTWVideo=C:\WINDOWS\SYSTEM\MCIQTW.DRV
  421. MpegVideo=C:\WINDOWS\SYSTEM\softpeg.drv
  422. MpegVideoCD=C:\WINDOWS\SYSTEM\softpeg.drv CDI
  423.  
  424. You might also want to look at your WIN.INI file's [mci extensions] section
  425. (also located in your \WINDOWS directory) to see the list of all file
  426. extensions that are associated with "media clip playback" on your system
  427. (which are not all handled by Mplayer.exe).
  428. On my WfWG 3.11 system, this section looks like this:
  429.  
  430. [mci extensions]
  431. wav=waveaudio
  432. mid=sequencer
  433. rmi=sequencer
  434. avi=AVIVideo
  435. flc=Animation1
  436. fli=Animation1
  437. aas=Animation1
  438. 3d=Animation1
  439. mov=QTWVideo
  440. mvb=QTWVideo
  441. pic=QTWVideo
  442. jpg=QTWVideo
  443. mpg=MPEGVIDEO
  444. m1v=MpegVideo
  445. mpe=MpegVideo
  446. MPA=MPEGVIDEO
  447. MPV=MPEGVIDEO
  448. DAT=MpegVideo
  449.  
  450. Depending on the MCI devices are installed on your system, you have similar or
  451. different entries.
  452.  
  453. FYI: See the "DocErr: Media Player Command-Line Switches" MSKB article:
  454. http://support.microsoft.com/support/kb/articles/q126/8/69.asp
  455.  
  456.  
  457.  
  458. CONTROL PANEL
  459.  
  460.  
  461.  
  462. Open File Manager (FM = C:\WINDOWS\WINFILE.EXE) and associate the .CPL files
  463. found in your C:\WINDOWS\SYSTEM directory with CONTROL.EXE, located in
  464. C:\WINDOWS (default setup).
  465. From now on, when you double-click on a .CPL file, it opens that specific
  466. Control Panel applet, without having to open the entire Control Panel to
  467. change a particular system setting.
  468.  
  469.  
  470.  
  471. DITCH DRVSPACE/DBLSPACE
  472.  
  473.  
  474.  
  475. If you don't use [and I strongly recommend NOT TO!] DRVSPACE (the disk
  476. compression utility that comes with MS-DOS 6.22) or DBLSPACE (bundled with
  477. MS-DOS 6.00 - 6.20), it's good to free some disk space (and eventually regain
  478. some upper/conventional memory) and delete all DRVSPACE/DBLSPACE files from
  479. your hard disk(s) and all related references from your startup files.
  480. In File Manager, start a file search, begining with the root directory of your
  481. boot drive (default is C:\) for all DRVSPACE or DBLSPACE files. Type this in
  482. the search box: DRVSPAC*.* or DBLSPAC*.* and then click OK. You will get a
  483. list of all DrvSpace/DblSpace files, with the following extensions: .BIN,
  484. .EXE, .HLP, .INI, SYS etc.
  485. Highlight them all and delete them. Don't worry about making backup copies,
  486. you can always find them on your MS-DOS 6.xx SETUP floppies.
  487. Some of these files might not show in the Find window, because you need to set
  488. File Manager to display ALL FILES INCLUDING HIDDEN AND SYSTEM FILES.
  489. Better, start by upgrading your hard disk(s), because 1 GB (or larger) hard
  490. drives sell now for under $50.
  491. If you ARE using DrvSpace or DblSpace to compress your drive(s), DO NOT DELETE
  492. ANY DRVSPACE/DBLSPACE FILES YET!
  493. To be able to delete these files, UNINSTALL Drvspace/Dblspace first, and ONLY
  494. AFTER THAT delete these files.
  495. You may also need to "clean" your Config.sys file (found in C:\ root) of
  496. obsolete DrvSpace/DblSpace entries (examples):
  497. - MS-DOS 6.00 - 6.20 users:
  498. DEVICEHIGH=C:\DOS\DRVSPACE.SYS /MOVE
  499. - MS-DOS 6.22 users:
  500. DEVICEHIGH=C:\DOS\DBLSPACE.SYS /MOVE
  501. Note that Microsoft removed DblSpace from MS-DOS 6.21, and DrvSpace was
  502. introduced begining with MS-DOS 6.22.
  503. Same line REMmarked using:
  504. - the REM command:
  505. REM DEVICEHIGH=C:\DOS\DRVSPACE.SYS /MOVE
  506. - or a semicolon:
  507. ; DEVICEHIGH=C:\DOS\DRVSPACE.SYS /MOVE
  508. Edit Config.sys using EDIT.COM in DOS or Notepad in Windows.
  509. Save your work and reboot.
  510. DrvSpace/DblSpace only slows down your system (and it's not 100% safe anyway),
  511. and of course, it is a temporary solution for getting extra disk space.
  512. You'll end up needing a larger hard drive some day anyway. :)
  513.  
  514.  
  515.  
  516. WIN.COM SWITCHES
  517.  
  518.  
  519.  
  520. When you run WIN /? from a DOS prompt, you get this screen:
  521.  
  522. "Starts Windows for Workgroups 3.11.  (... or Windows 3.1.)
  523.  
  524. WIN [/B] [/N] [/D:[C][F][S][V][X]]
  525.  
  526. /B    Creates a file, BOOTLOG.TXT, that records system messages generated
  527.     during system startup (boot).
  528. /N    Causes Windows not to load network drivers.
  529. /D:    Used in combination with one or more of the following switches for
  530.     troubleshooting when Windows does not start correctly.
  531.    C    Turns off 32-bit file access.
  532.    F    Turns off 32-bit disk access.
  533.     Equivalent to SYSTEM.INI file setting: 32BitDiskAccess=FALSE.
  534.    S    Specifies that Windows should not use ROM address space between
  535.     F000:0000 and 1 MB for a break point.
  536.     Equivalent to SYSTEM.INI file setting: SystemROMBreakPoint=FALSE.
  537.    V    Specifies that the ROM routine will handle interrupts from the hard
  538.     disk controller.
  539.     Equivalent to SYSTEM.INI file setting: VirtualHDIRQ=FALSE.
  540.    X    Excludes all of the adapter area from the range of memory that Windows
  541.     scans to find unused space.
  542.     Equivalent to SYSTEM.INI file setting: EMMExclude=A000-FFFF."
  543.  
  544. These switches are meant to provide you with options for starting Win31 in
  545. special troubleshooting modes if you are having problems running/loading
  546. Windows on your system. Example:
  547. WIN /D:F
  548. to turn off the 32-bit disk access (not recommended in normal conditions).
  549. Hope you never have to use them...
  550.  
  551. NOTES:
  552. - To MAXimize your Windows performance read "SYSTEM.INI TWEAKS" in
  553. MYTIPS31.TXT (this file).
  554. - To learn about the UNDOCUMENTED WIN.COM switches read "WIN.COM HIDDEN
  555. PARAMETERS" in SECRETS.TXT (included).
  556.  
  557.  
  558.  
  559. SWITCHES [*]
  560.  
  561.  
  562.  
  563. SWITCHES=/F
  564. Use this command ONLY in your CONFIG.SYS file, as the first line.
  565. The /F switch skips the 2 second delay before processing the startup files
  566. (CONFIG.SYS and AUTOEXEC.BAT) at bootup. The /F parameter is valid for all
  567. MS-DOS versions begining with 6.00 and including Windows 95/98/ME (a.k.a.
  568. MS-DOS 7.00/7.10/8.00).
  569.  
  570.  
  571.  
  572. SYSTEM.INI TWEAKS [*]
  573.  
  574.  
  575.  
  576. A MUST: See this page for COMPLETE DETAILS using ALL Win9x/ME/3.1x releases:
  577. http://members.aol.com/axcel216/lastweek.htm#SYSINI
  578.  
  579. SYSTEM.INI is a Windows 9x/ME/3.xx INItialization text file and resides in
  580. your Windows directory.
  581. First, let's see the Windows .INI files editing rules:
  582. - You can replace "no" with "0", "off" or "false". Similarly, "yes" has the
  583. same effect as "1", "on" or "true" (but don't type the quotes). This applies
  584. ONLY to <boolean> entries (yes/no, 1/0, on/off, true/false), NOT to numeric
  585. (decimal/hex) or string (text) values (i.e. DMABufferSize = 0 - 64 KB), which
  586. have different measuring units, ranges or characters (exemplified below).
  587. - Windows loads its built-in/default values (shown below) for all .INI
  588. settings that are not present.
  589. - All Windows .INI lines are case insensitive.
  590. - You can comment (remark, disable) any Windows .INI entry (instead of
  591. deleting it) by preceding it with a semicolon (;). Example:
  592. ; 32BitDiskAccess=ON
  593. - Windows .INI file maximum allowed size is 64 KB, which is an annoying
  594. limitation. Anything above that is not processed. :(
  595. - You need to restart Windows every time after modifying ANY System.ini
  596. settings!
  597. - CAUTION: BACKUP your .INI files BEFORE making ANY changes!
  598. - If you don't know what these lines do, YOU MUST READ your Windows help
  599. files/documents/manuals BEFORE altering ANY configuration files, and BEWARE
  600. that if you enter invalid values you may experience data loss and/or
  601. unexpected machine lockups !!!
  602. The following are helpful lines to add/modify (using Notepad or Sysedit in
  603. Windows or EDIT.COM in DOS) under the [386enh] section of your SYSTEM.INI,
  604. valid ONLY for Windows/WfWG 3.1x if not specified otherwise.
  605. And now that we've cleared it all up, let's have some fun... :)
  606.  
  607. 32BitDiskAccess=ON    To turn on 32-bit disk access in Windows for maximum
  608.             performance. To disable 32-bit access ONLY for
  609.             troubleshooting purposes (NOT recommended), replace ON
  610.             with OFF. This is equivalent with starting Windows by
  611.             running:
  612.             WIN /D:F
  613.  
  614. COMBoostTime=1    To speed up keyboard buffered operations (decrease character
  615.         download time) at high speed modem transfers (above 9600 bps),
  616.         using communications/internet applications. Affects the time
  617.         (in milliseconds) the Operating System processes a COM port
  618.         interrupt. Default value is 2. If you notice any loss of
  619.         keyboard characters while using internet/communications apps,
  620.         increase it to 4 or higher. Experimenting may be necessary to
  621.         determine your optimal setting.
  622.  
  623. COMxBuffer=1024        To increase the buffer size (in Bytes) for characters
  624.             sent/received by your communications device (modem) on
  625.             a specific COM port. Replace x with the COM port
  626.             number used by your modem. Valid COMx values: 1, 2, 3
  627.             and 4. Default Buffer value is 128. High values will
  628.             decrease modem transfer speed slightly, but might
  629.             prevent loss of characters at high baud rates (above
  630.             9600 bps). Experimenting may be necessary to find your
  631.             "sweet spot".
  632.             NOTE: BEFORE increasing the COMx Buffer value, you
  633.             need to add an empty (BLANK) COMxProtocol= line (see
  634.             setting below):
  635.  
  636. COMxProtocol=    To specify whether Windows should stop simulating characters
  637.         in DOS boxes/sessions after the Virtual Machine (VM) sends an
  638.         XOFF character, if a DOS based communications/internet
  639.         program/game loses characters while performing text transfers
  640.         at high baud rates (above 9600 bps), on a specific COM port.
  641.         Replace x with the COM port number used by your analog modem.
  642.         Valid COMx values: 1, 2, 3 and 4. Valid values: XOFF (to stop)
  643.         or BLANK (to continue).
  644.         Default is any value other than XOFF. Set this line to BLANK
  645.         (leave it empty) when performing binary transfers.
  646.  
  647. COMIrqSharing=ON    To enable COM port IRQ sharing in Win31, ONLY IF using
  648.             ANY serial I/O communications cards (UART, modem, NIC
  649.             etc) that support IRQ sharing with other hardware
  650.             devices in your computer. Default value is OFF.
  651.  
  652. DMABufferSize=64    To increase your 16-bit Direct Memory Access (DMA)
  653.             channel buffer to maximum size: 64 (in KiloBytes).
  654.             Affects ALL I/O (Input/Output) DMA operations: sound
  655.             card FM/wavetable, MIDI playback/recording, disk
  656.             buffered reads/writes. Default value is 16.
  657.  
  658. DualDisplay=ON    Mandatory for compatibility with extended/expanded memory
  659.         managers (EMM386.EXE, QEMM386.SYS, RM386.EXE, 386MAX.SYS etc),
  660.         to allow Windows to use the B000-B7FF Upper Memory Area (UMA)
  661.         on VGA, Super VGA (SVGA) and eXtended VGA (XVGA) color
  662.         monitors, ONLY IF NOT using a secondary display
  663.         adapter/monitor. Default value is OFF.
  664.         You MUST also add/modify your memory manager CONFIG.SYS line
  665.         to include this area (example):
  666.         DEVICE=C:\WINDOWS\EMM386.EXE I=B000-B7FF
  667.  
  668. EMMExclude=A000-FFFF    To prevent Windows from searching the Upper Memory
  669.             Area (UMA) for unused memory (RAM) upon startup. Safer
  670.             if using any 3rd party memory managers (QEMM, NetRoom,
  671.             386MAX etc), or any real MS-DOS mode
  672.             devices/drivers/TSRs in CONFIG.SYS/AUTOEXEC.BAT. This
  673.             is equivalent with starting Windows by running:
  674.             WIN /D:X
  675.  
  676. FileSysChange=OFF    To prevent updating file changes in DOS
  677.             sessions/boxes, and thus speed up disk operations in
  678.             DOS sessions and File Manager. Default value is ON,
  679.             which decreases system performance on slower
  680.             computers.
  681.  
  682. HardDiskDMABuffer=32    Memory allocated (in KiloBytes) for the Direct Memory
  683.             Access (DMA) buffer for disk-buffered reads/writes.
  684.             Default value is 0. Maximum allowed value is 32.
  685.             If using SMARTDRV with double-buffering turned on:
  686.             DEVICE=C:\DOS\SMARTDRV.EXE /DOUBLE_BUFFER
  687.             this setting is determined automatically.
  688.  
  689. InitPS2MouseAtExit=OFF    Disables the search for a PS/2 mouse upon Win31 exit,
  690.             thus saving a few milliseconds. Default value is ON.
  691.  
  692. IRQ9Global=ON    Use this setting if your system hangs when reading from floppy
  693.         drive(s) in Win31. Default value is OFF.
  694.  
  695. KeyBoostTime=0.1    To increase keyboard response (in seconds) to
  696.             keystrokes with several background Windows programs
  697.             running. Default value is 0.001 (1 millisecond =
  698.             1/1000 of a second).
  699.  
  700. LocalLoadHigh=1        To increase the amount of conventional (low) DOS
  701.             memory (RAM) available to each DOS session/box to
  702.             maximum. Default value is 0. See "LOCALLOADHIGH" in
  703.             MYTIPS31.TXT (this file) for more details.
  704.  
  705. MaxBPs=1000    To increase the Maximum Break Points memory size (in Bytes)
  706.         used by Windows Virtual Memory Manager (VMM). Default is 200
  707.         (rounded up to 370). Maximum allowed is 1000 (rounded up to
  708.         1200).
  709.         Windows allocates memory space for break points in 4096 Bytes
  710.         (4 KB) blocks. A value of 200 is actually rounded up to 370 to
  711.         fit into the first 4K block. If value raised to 400 Windows
  712.         opens a second 4K block, and if raised to 800, a 3rd block is
  713.         allocated etc.
  714.  
  715. MaxPagingFileSize=xxxxxx    To define the upper (maximum) limit of the
  716.                 swap file size in KiloBytes (KB). Default is
  717.                 50% of available free space on target drive.
  718.                 Maximum allowed has to match total available
  719.                 free space on selected hard drive/partition,
  720.                 equivalent to deleting this line. See "SWAP
  721.                 FILE" and "9X/2000/NT/ME/XP/3.1X MULTIBOOT
  722.                 SWAP FILE" in MYTIPS31.TXT (this file) for
  723.                 more details.
  724.  
  725. MinPagingFileSize=xxxxxx    To define the lower (minimum) limit of the
  726.                 swap file size in KiloBytes (KB). Default is
  727.                 NONE. Minimum allowed is 0 KB, equivalent to
  728.                 deleting this line. See "SWAP FILE" and
  729.                 "9X/2000/NT/ME/XP/3.1X MULTIBOOT SWAP FILE" in
  730.                 MYTIPS31.TXT (this file) for more details.
  731.  
  732. MessageBackColor=8    To specify the BSOD (Blue Screen Of Death) background
  733.             (screen) color. Default is blue (1). See "BLUE (OR ANY
  734.             OTHER COLOR) SCREEN OF DEATH" in MYTIPS31.TXT
  735.             (this file) for complete details.
  736.  
  737. MessageTextColor=C    To specify the BSOD (Blue Screen Of Death) foreground
  738.             (text) color. Default is bright white (F). See "BLUE
  739.             (OR ANY OTHER COLOR) SCREEN OF DEATH" in MYTIPS31.TXT
  740.             (this file) for complete details.
  741.  
  742. MinTimeSlice=40        To increase the minimum time (in milliseconds) a DOS
  743.             Virtual Machine (VM) is allowed to run before other
  744.             VMs can take over. Default value is 20. Smaller values
  745.             (i.e. 10) make multitasking smoother, but decrease
  746.             overall system performance.
  747.  
  748. PageBuffers=32    To increase the 4 KB page buffers number (in KiloBytes) for
  749.         storing asynchronous read/write pages, and thus boost Windows
  750.         fixed disk performance. Works ONLY if using 32-bit disk access
  751.         (FBDA) AND a permanent swap file. Default value is 4. Maximum
  752.         allowed is 32.
  753.  
  754. PagingDrive=X:    To specify the (permanent) swap file fixed disk location
  755.         (substitute X with target drive/partition letter). Default is
  756.         C:. See "SWAP FILE" and "9X/2000/NT/ME/XP/3.1X MULTIBOOT SWAP
  757.         FILE" in MYTIPS31.TXT (this file) for more details.
  758.  
  759. PagingFile=X:\PATH\FILENAME.EXT        To specify the (permanent) swap file
  760.                     location: fixed disk (substitute X
  761.                     with target drive/partition letter),
  762.                     path (substitute PATH with target
  763.                     directory name) and filename with
  764.                     extension (substitute FILENAME.EXT
  765.                     with WIN386.SWP for Windows 95/98/ME
  766.                     or with 386SPART.PAR for Windows/WfWG
  767.                     3.1x). Default is
  768.                     C:\WINDOWS\WIN386.SWP for Win9x/ME or
  769.                     C:\386SPART.PAR for Win31. See "SWAP
  770.                     FILE" and "9X/2000/NT/ME/XP/3.1X
  771.                     MULTIBOOT SWAP FILE" in MYTIPS31.TXT
  772.                     (this file) for more details.
  773.  
  774. PerVMFiles=60    To increase the number of private file handles (similar to the
  775.         native MS-DOS mode "FILES=" command in CONFIG.SYS) allocated
  776.         to each Virtual Machine (VM), needed by DOS programs running
  777.         in a DOS session. Default value is 10 for Win/WfWG 3.1x.
  778.         Maximum allowed is 225. The specified number (0 - 225) is
  779.         added to the minimum of 30 VMFiles Windows allocates by
  780.         default to each VM. In this example: 60 + 30 = 90 VMFiles.
  781.  
  782. SyncTime=ON    You MUST enable this line IF TrapTimerPorts=OFF (see setting
  783.         below), to synchronize Win31's time clock with the computer's
  784.         BIOS clock periodically. Default value is OFF.
  785.  
  786. TrapTimerPorts=OFF    Helps time sensitive Win31 programs/games that rely on
  787.             the computer timer to run more accurate. Default value
  788.             is ON.
  789.  
  790. VGAMonoText=OFF        To allow Windows to use the B000-B7FF Upper Memory
  791.             Area (UMA) if not used by other hardware devices
  792.             (monochrome video adapters) or graphics/video
  793.             (VGA/SVGA/XVGA) applications. Default value is ON.
  794.             If a hardware device/peripheral or an
  795.             upper/extended/expanded memory manager using this
  796.             memory range is installed, this area is NOT available
  797.             to Windows.
  798.  
  799. WindowUpdateTime=200    To decrease the time (in milliseconds) between display
  800.             updates for slower non-Windows (DOS based) programs
  801.             running in DOS sessions. Default value is 50.
  802.  
  803. Some of these settings can be loaded at Windows startup, as command line
  804. parameters. To see which ones suit your needs, run:
  805. WIN /?
  806. from any DOS prompt. See also "WIN.COM SWITCHES" in MYTIPS31.TXT (this file)
  807. and "WIN.COM HIDDEN PARAMETERS" in SECRETS.TXT (included) for more details.
  808.  
  809. NOTES:
  810. 1. See these Microsoft Knowledge Base (MSKB) articles to learn how to tweak
  811. your SYSTEM.INI [386enh] section settings (most are valid for ALL Windows
  812. 9x/ME/3.xx releases):
  813. - "Windows 3.1 Resource Kit SYSTEM.INI [386ENH] Section A-L":
  814. http://support.microsoft.com/support/kb/articles/q83/4/35.asp
  815. - "Windows 3.1 Resource Kit SYSTEM.INI [386ENH] Section M-Z":
  816. http://support.microsoft.com/support/kb/articles/q83/4/36.asp
  817. 2. Download Microsoft Windows/WfWG 3.1x Resource Kits (RK) with tons of techno
  818. details and extra tweaking + monitoring tools:
  819. http://support.microsoft.com/support/kb/articles/q124/4/35.asp
  820. - Windows 3.10 RK [3.4 MB]:
  821. http://intranet.dx21.com/software/win3x/rsk/W31RSK.zip
  822. - WfWG 3.10 RK [594 KB]:
  823. http://intranet.dx21.com/software/win3x/rsk/WFWRSK.zip
  824. A MUST for all Windows/WfWG 3.1x afficionados.
  825.  
  826.  
  827.  
  828. BLINK... NOT!
  829.  
  830.  
  831.  
  832. Undocumented!
  833. To change the cursor blinking rate to NON-BLINKING in Windows/WfWG 3.1x,
  834. effective in Notepad, Write or any other Windows application using the
  835. standard block cursor dialog box, all you need to do is modify the following
  836. line under the [windows] section of your WIN.INI file, located in your
  837. Windows/WfWG directory, to read:
  838. CursorBlinkRate=-1
  839. Alternatively, for a very slow blinking rate, you can give it a value of
  840. 65535 (maximum allowed).
  841. Edit WIN.INI with Notepad or Sysedit in Windows or EDIT.COM in DOS.
  842. Save your work and restart Windows/WfWG to see the effect.
  843. NOTE: This setting does NOT apply to the MS-DOS mode box cursor.
  844.  
  845.  
  846.  
  847. AUTOMATIC ZIP
  848.  
  849.  
  850.  
  851. This tip applies ONLY to MS-DOS command line users! ;)
  852. You can also perform these backup chores [manually :(], by using Info-ZIP WiZ
  853. 16-bit for Windows/WfWG 3.1x [free GNU]:
  854. http://www.info-zip.org/WiZ.html
  855. in GUI mode.
  856. But here's the "easy" way: [:)]
  857. I included here two DOS batch files: ZIPHARD.BAT and ZIPFLOP.BAT. They are
  858. designed to automate the task of backing up files, and compressing them the
  859. same time, to save disk space. These batch files use PKZIP.EXE, part of
  860. PKWare PKZIP + PKUNZIP v2.50 [202 KB, no nag shareware], THE essential DOS
  861. ZIPping/unZIPping tools, Long File Names (LFNs) aware ONLY in a Windows
  862. 9x/NT/2000/ME DOS box:
  863. ftp://ftp.pkware.com/PK250DOS.EXE
  864. Install the PKWare files in an easy to remember directory (i.e. C:\ZIP), and
  865. then add it to your path line (generic example):
  866. SET PATH=C:\;C:\DOS;C:\WINDOWS;C:\STUFF;C:\ZIP;etc...
  867. by editing your CONFIG.SYS (MS-DOS 6.00 or newer ONLY!) or AUTOEXEC.BAT file
  868. (both located in C:\ root) with Notepad in Windows or EDIT.COM in DOS. Reboot
  869. when done.
  870. For convenience place the 2 batch files mentioned above into the same
  871. directory where PKZIP.EXE resides (C:\ZIP in this example).
  872. Now you're ready to roll...
  873. To zip up (compress) all files in a given directory (and all its
  874. subdirectories for that matter) on your hard disk, run ZIPHARD from a DOS
  875. prompt window, by creating a PIF for it (in Windows), or straight from the
  876. plain (native) DOS command line, outside Windows.
  877. All you have to do is type the name of the zip file (without extension, up to
  878. eight characters), and you'll also have to type the name of the directory that
  879. contains the files you want to zip up, all after the batch file name, leaving
  880. a space between parameters.
  881. That's it. If your zipped directory has subdirectories, the batch will take
  882. care of that too, zipping all subdirectories and the files contained in them
  883. (recursing all subdirectories).
  884. To zip the files from a directory on your hard disk onto a floppy disk (the
  885. default is A:), run ZIPFLOP from a DOS prompt (included). Just make sure to
  886. mention the zip name (again, without extension), and the name of the directory
  887. (subdirectory) where the files you want to compress reside.
  888. ZIPFLOP is designed to make a single zip file which will be placed on multiple
  889. floppies (spanned), if necessary, so make sure you have enough floppy disks
  890. handy, to swap the floppies when prompted by PKZIP's routine!
  891. Example of using ZIPHARD (same principle applies to ZIPFLOP):
  892. ZIPHARD MYBACKUP MYDOCS
  893. to zip all files in your \MYDOCS directory (and subdirectories, if any). The
  894. zip file (MYBACKUP.ZIP) created by running this command line, is located in
  895. the newly created \ZIPTEMP directory, on the same hard drive.
  896. IMPORTANT: The zip filename has to be identical with your wanna-be compressed
  897. directory name on your hard disk!
  898. Make sure to change the drive letters (edit these BAT files with Notepad in
  899. Windows or EDIT.COM in DOS) if different on your system: I presumed C is your
  900. hard drive and A is your 3.5 inch (bootable) floppy.
  901.  
  902.  
  903.  
  904. RESTORE AFTER INSTALL
  905.  
  906.  
  907.  
  908. I realized the most reliable method of restoring your original files after a
  909. Windows program install/setup routine modified/replaced/deleted/added other
  910. files to your original Windows and Windows System files is to create separate
  911. directories for all Windows and respectively Windows System files, and copy
  912. ALL the files there, before installing any new software program/application.
  913. This means you don't have to buy/try/regret any "CleanSweep", "Uninstaller",
  914. "RemoveIt", or other fancy "install watch dog" utility. :)
  915. This method works always, with ONE exception that I know of. When you install
  916. the Quick Time Movies Extensions to play .MOV files (Quick Time Movies) and
  917. view .PIC files on your Windows system, at some point during the setup
  918. process, the installer will ask for your approval to delete all the old
  919. versions of Quick Time Movie files found on your hard drive(s), which means it
  920. will also erase the ones in your BACKUP directories (just created by the batch
  921. file below), if you answer YES to that question. The fix is to answer NO to
  922. the question! Let it delete ONLY the files in your current \WINDOWS and
  923. \WINDOWS\SYSTEM directories.
  924. To backup/restore all your Windows and Windows System files use the two DOS
  925. batch files described below.
  926. The first one is BACKUP31.BAT: copies ALL files from your \WINDOWS directory
  927. and all its subdirectories to a new directory called C:\WIN31BAK and your
  928. MS-DOS boot files (AUTOEXEC.BAT + CONFIG.SYS) from C:\ root to a new directory
  929. called C:\DOS6BAK.
  930. After finishing installing a new (trial) program, you can restore back your
  931. original Windows configuration (uninstall utilities, that use the Shield
  932. Wizard Install feature, claim to remove all traces of an installed program,
  933. but in reality they still leave files scattered on your hard drive, or/and
  934. phantom entries into your System Files: REG.DAT, SYSTEM.INI, WIN.INI,
  935. CONTROL.INI etc) by running the second one: RESTOR31.BAT.
  936. Some uninstallers will sometimes prompt you to manually remove some of the
  937. files created by the install routines, but don't always count on that. :)
  938. I found out this recovery method from a buggy install works better and
  939. painlessly. Give it a try.
  940.  
  941. IMPORTANT:
  942. - BACKUP31.BAT works ONLY from a DOS box/session/window WITHIN Windows/WfWG
  943. GUI, NOT from native/real/true/pure MS-DOS mode OUTSIDE Windows/WfWG GUI!
  944. - RESTOR31.BAT works ONLY from native/real/true/pure MS-DOS mode OUTSIDE
  945. Windows/WfWG GUI, NOT from a DOS box/session/window WITHIN Windows/WfWG GUI!
  946.  
  947. First run BACKUP31 from a Windows/WfWG DOS box/session to backup your entire
  948. Win31 system files + (sub)directories BEFORE installing a new program.
  949. Then setup/install your desired (trial) software, and if you are not satisfied
  950. with it for any reason, or you'd like to remove it entirely from your system,
  951. exit Win31 to native MS-DOS and run RESTOR31, to wipe all current Windows and
  952. Windows System files, and revert to your original configuration, before that
  953. (buggy) install.
  954. Some buggy (older) install routines will replace .386, .DLL, .VBX, .VXD, .DRV,
  955. .EXE or/and other CRUCIAL Windows System files with their own (eventually
  956. OLDER) versions, even if you already have the most recent versions installed!
  957. The conclusion is that you won't be able to run your other programs that
  958. require particular (eventually NEWER) versions of the replaced files after
  959. such an installation!
  960. This is valid mostly for older Windows programs, but I wouldn't count on that!
  961. So beware when you unleash a setup/install program to run freely on your
  962. system!
  963. NOTE: To speed up disk access significantly, install Smartdrv in your
  964. AUTOEXEC.BAT to cache all your disk drives in DOS mode. Example of
  965. AUTOEXEC.BAT Smartdrv line:
  966. SMARTDRV 2048 A+ C+ D /N
  967. I presumed that A is your primary floppy drive, C is your hard drive and D
  968. your CD-ROM/DVD drive.
  969. The /N switch allows Smartdrv to return to the prompt BEFORE finishing the
  970. write operations to the disk! Use it carefully!
  971. Both BACKUP31.BAT and RESTOR31.BAT files are included here.
  972.  
  973. STRONGLY RECOMMENDED:
  974. - Edit RESTOR31.BAT with Notepad in Windows or EDIT.COM in DOS to change ALL
  975. instances (on all command lines except the ECHO lines!) of your main
  976. Windows/WfWG 3.1x directory name to match yours if other than WINDOWS.
  977. - Open BACKUP31.BAT + RESTOR31.BAT with Notepad in Windows or EDIT.COM in DOS
  978. to *READ* ALL instructions on ECHO lines BEFORE running them!
  979. I hope you'll find this backup/restore method as useful as I did.
  980.  
  981.  
  982.  
  983. WATCH YOUR PROMPT
  984.  
  985.  
  986.  
  987. The (SET) PROMPT command can be typed at the DOS prompt, specified in
  988. Autoexec.bat, and begining with MS-DOS version 6.00, it can also be mentioned
  989. in Config.sys (same as SET PATH, SET TEMP, SET TMP, and any other SET lines).
  990. Below are detailed two "bugs" I discovered in MS-DOS 6.00 and above, and
  991. including MS-DOS 7.00, 7.10 and 8.00, bundled with Windows 95, 98 and ME
  992. respectively, two issues that MS-DOS (ANY version) canNOT deal with on PROMPT
  993. lines, or in Config.sys multiboot menus:
  994. 1. THE PROMPT BUG:
  995. Don't use ANY equal signs ("=") ANYWHERE inside your PROMPT line!
  996. If you do, MS-DOS will try to interpret ALL the characters after the "=" as a
  997. command (or link to a command), will try to execute it, and you'll get this
  998. error message:
  999. "Syntax error"
  1000. Example of buggy "PROMPT" line that uses an equal sign (it's the second "=",
  1001. the first one is part of the prompt command line):
  1002. SET PROMPT=WINDOWS=My Computer$_$P$G
  1003. Same buggy "PROMPT" line example without the "SET" command and without the
  1004. "=" notation (which is not necessary, but it MUST be replaced with a space):
  1005. PROMPT WINDOWS=My Computer$_$P$G
  1006. NOTE: The "SET" prefix is not necessary in front of the "PATH" and "PROMPT"
  1007. commands, ONLY IF typed at the DOS prompt or included in your Autoexec.bat,
  1008. but it MUST be specified for all SET <STRING>=<VARIABLE> statements in your
  1009. Config.sys!
  1010. 2. THE MULTIMENU BUG:
  1011. If you are using a multiconfiguration bootup menu in your CONFIG.SYS and
  1012. AUTOEXEC.BAT [like I do :)], which must have the menu names in square
  1013. parenthesis in your CONFIG.SYS {i.e. [MYMENU]}, and GOTO type of colon
  1014. preceded menus/labels (i.e. :MYMENU) in your AUTOEXEC.BAT, then DO NOT USE
  1015. THE SAME WORDS FOR YOUR MENU NAMES AS THE FIRST WORDS ON YOUR PROMPT LINES!
  1016. If you do, you'll see another error message:
  1017. "Label not found"
  1018. Example of generic multiconfiguration menus in Config.sys using matching
  1019. words for menus, using Autoexec.bat matching prompts and also using equal
  1020. signs inside the PROMPT lines, to demonstrate both the PROMPT and the
  1021. MULTIMENU bugs:
  1022.  
  1023. * BUGgy Config.sys:
  1024.  
  1025. SWITCHES=/F
  1026. [COMMON]
  1027. DEVICE=C:\path\HIMEM.SYS /TESTMEM:OFF
  1028. DOS=HIGH,UMB
  1029. [MENU]
  1030. MENUITEM=WINDOWS,Boot to Windows    <- MULTIMENU BUG: WINDOWS
  1031. MENUITEM=DOS,Boot to Dos        <- MULTIMENU BUG: DOS
  1032. [WINDOWS]                <- MULTIMENU BUG: [WINDOWS]
  1033. DEVICEHIGH=C:\path\IFSHLP.SYS
  1034. SET CONFIG=WINDOWS            <- MULTIMENU BUG: WINDOWS
  1035. [DOS]                    <- MULTIMENU BUG: [DOS]
  1036. DEVICE=C:\path\EMM386.EXE RAM AUTO
  1037. DEVICEHIGH=C:\path\VIDE-CDD.SYS /D:MYCDROM
  1038. SET CONFIG=DOS                <- MULTIMENU BUG: DOS
  1039.  
  1040. * ... And corresponding (BUGgy) Autoexec.bat:
  1041.  
  1042. @ECHO OFF
  1043. SET PATH=C:\;C:\DOS;C:\WINDOWS;C:\STUFF;etc...
  1044. GOTO %CONFIG%
  1045. :WINDOWS                <- MULTIMENU BUG: :WINDOWS
  1046. SET PROMPT=WINDOWS=My Computer$_$P$G    <- PROMPT + MULTIMENU BUGS: WINDOWS=
  1047. WIN %1
  1048. GOTO END
  1049. :DOS                    <- MULTIMENU BUG: :DOS
  1050. LH C:\path\MSCDEX /D:MYCDROM /M:16 /E
  1051. LH SMARTDRV 4096 16 A+ B- C+ D /N
  1052. SET MOUSE=C:\path
  1053. LH C:\path\MOUSE
  1054. SET PROMPT=DOS=My Computer$_$P$G        <- PROMPT + MULTIMENU BUGS: DOS=
  1055. :END
  1056. SET WINPMT=Type EXIT & hit Enter 2 return 2 Windows!$_$P$G
  1057.  
  1058. That's it.
  1059. Gee, it took me a while to figure out why I was getting weird error messages
  1060. at bootup...
  1061.  
  1062.  
  1063.  
  1064. AVI PLAYBACK
  1065.  
  1066.  
  1067.  
  1068. I found out that the optimal settings to playback AVI movies from my
  1069. CD-ROM drive are:
  1070. [MCIAVI]
  1071. DefaultVideo=Window
  1072. AccurateSeek=1
  1073. ZoomBy2=1
  1074. DisallowSilentPlay=1
  1075. DontBufferOffscreen=0
  1076. SkipFrames=0
  1077. UseAVIFile=0
  1078. "[MCIAVI]" is a section in your SYSTEM.INI file, located in your Windows
  1079. directory.
  1080. I have a 233MHz Pentium MMX, 64MB of EDO DRAM, an ATI Mach64 Graphics Pro
  1081. Turbo 4MB VRAM PCI video accelerator and an 8x speed internal IDE CD-ROM, and
  1082. I still have to mess with these settings to be able to play AVI files smoothly
  1083. on my machine (especially if I set my Windows video driver to 65K colors or
  1084. better).
  1085. You canNOT change ALL these settings by running MPLAYER.EXE, and then
  1086. selecting an AVI file, and trying to reset them through MPLAYER's Device,
  1087. Configure... dialog box!
  1088. So you'll have to fiddle with these settings yourself, editing the [MCIAVI]
  1089. section in your SYSTEM.INI (open it with Notepad in Windows).
  1090. Play around with them, playing the biggest AVI movie you can find on a CD-ROM,
  1091. after each change, until you find the optimal settings for your system (until
  1092. your movies play without interruptions/frame loss).
  1093. Use MPLAYER to play .AVI, MOV, .MPG, .MPE etc files. Example: associate the
  1094. AVI extension in File Manager with MPLAYER.EXE. Mplayer.exe is located in your
  1095. Windows directory.
  1096. The changes can be made by replacing the value "1" on each line with "0"
  1097. (don't type any quotes), and backwards, by changing "0" to "1".
  1098. NOTES:
  1099. - To play multimedia files (i.e. AVI movies), you NEED to have Microsoft
  1100. Video for Windows (VfW) extensions version 1.1e, installed on your Win31
  1101. machine!
  1102. Download VfW 1.1e [1.4 MB, free]:
  1103. http://www.cnunix.com/ftp/win3/WFW311/WV1160.EXE
  1104. After completing the download, run SETUP.EXE to properly install VfW.
  1105. - Windows 95/98/ME users do NOT need VfW 1.1e, because these OSes come with
  1106. their own built-in version of 32-bit VfW (if you have chosen to install the
  1107. Multimedia Accessories at the time of the installation)!
  1108.  
  1109.  
  1110.  
  1111. LOAD/RUN
  1112.  
  1113.  
  1114.  
  1115. I discovered the following to be limitation in Windows/WfWG 3.1x. Could also
  1116. very well be a limitation in Windows 95/98/ME. Till proven otherwise, I'll
  1117. keep this as a Windows 9x/ME/3.1x BUG, and this topic as its FIX.
  1118. Here we go:
  1119. If the "load=" line in your WIN.INI's [windows] section exceeds 128 characters
  1120. (the Windows programs/TSRs that load at startup), the executables listed
  1121. there beyond the 128 character limit WON'T BE PROCESSED by Windows. It's just
  1122. another Windows limitation [more like a BUG... :)]. To have such programs load
  1123. anyway, you can load them from the "run=" line, found in the same section of
  1124. your WIN.INI, located in your Windows directory.
  1125. Example of "load=" line longer than 128 characters:
  1126. [windows]
  1127. load=c:\windoz\wintsr c:\winstuff\stufftsr c:\virus\virustsr c:\scan\scantsr c:\programs\progtsr c:\blahblah\blahtsr c:\whatever\whattsr
  1128. Windows will load only the first 5 programs in this example because the last
  1129. 2 are beyond Windows capacity of recognizing lines longer than 128
  1130. characters. :(
  1131. But if you put the last 2 programs in this example on the "run=" line, they
  1132. will be processed, but ONLY AFTER Windows reads and processes the "load="
  1133. line (using same example):
  1134. [windows]
  1135. load=c:\windoz\wintsr c:\winstuff\stufftsr c:\virus\virustsr c:\scan\scantsr c:\programs\progtsr
  1136. run=c:\blahblah\blahtsr c:\whatever\whattsr
  1137. Another solution is to load most (or all) of your Windows startup programs
  1138. from the Startup group, which is limited only by the number of items allowed
  1139. [maximum 50 items per program group in Win31 :(].
  1140. Edit WIN.INI with Notepad or Sysedit in Windows or with EDIT.COM in DOS.
  1141. Restart Windows when you're done.
  1142. FYI: I personally gave up Program Manager [Progman.exe and its pesky and so
  1143. cumbersome program groups :)] in favor of Winbar v1.2 [173 KB, free]:
  1144. ftp://ftp.zdnet.com/pcmag/1995/0912/winbar.zip
  1145. an excelent Windows/WfWG 3.1x tool from PC Magazine:
  1146. http://www.zdnet.com/pcmag/
  1147. Winbar brings the Windows 95/98/ME taskbar and buttons style to Windows/WfWG
  1148. 3.1x users, and makes a cool addition to your Win9x/ME desktop (in which
  1149. case you need to drag & drop your Win9x/ME taskbar to the TOP of your
  1150. screen, so it doesn't superimpose over Winbar or vice versa). :)
  1151. TIP:
  1152. If you decide to use Winbar, DO NOT load it from the "shell=" line in your
  1153. SYSTEM.INI's [boot] section, load it instead from the "run=" line under
  1154. WIN.INI's [windows] section, to be able to load Windows programs from the
  1155. MS-DOS command line prompt, BEFORE starting Windows. Example:
  1156. WIN WINFILE
  1157. Instead leave Progman.exe (if using Windows/WfWG 3.xx) or Explorer.exe (if
  1158. using Windows 95/98/ME) on SYSTEM.INI's [boot] section "shell=" line.
  1159. SYSTEM.INI is located in your Windows directory. Edit it with Notepad or
  1160. Sysedit in Windows or with EDIT.COM in DOS.
  1161. Restart Windows when you're done, so the changes can take effect.
  1162. And don't forget to BACKUP YOUR ORIGINAL FILES BEFORE MAKING ANY CHANGES!
  1163.  
  1164.  
  1165.  
  1166. FIND FAST
  1167.  
  1168.  
  1169.  
  1170. To find ANY file location fast, in ANY DOS mode, when you know its file name,
  1171. or at least some of its file name characters and/or file extension, I have
  1172. created a small DOS style BATch file called FIND!.BAT (included).
  1173. To use it, simply type this command from any DOS prompt:
  1174.  
  1175. FIND! FILENAME.EXT
  1176.  
  1177. and then press Enter.
  1178. Here "FILENAME" is the name of the file you want displayed, and "EXT" is the
  1179. file extension in MS-DOS 8.3 Short File Names (SFNs) standard.
  1180. Don't type the quotes though. :)
  1181. You can also find files with Long File Names (LFNs) if using Windows 95, 98 or
  1182. ME, if you type a tilde ("~") after the first 6 characters in the file name,
  1183. which converts a LFN into its correspondent SFN. Example:
  1184.  
  1185. FIND! PROGRA~1.EXE
  1186.  
  1187. To locate multiple files, use typical DOS "wildcards" ("*" or "?").
  1188. This example:
  1189.  
  1190. FIND! *.TXT
  1191.  
  1192. locates ALL .TXT (text) files on your current (selected) drive/partition.
  1193. If your "SET PROMPT=" line contains the default string "$P$G", displayed by
  1194. running the SET command from any DOS prompt:
  1195.  
  1196. SET
  1197.  
  1198. then you can see your current (selected) drive/partition letter by simply
  1199. looking at your DOS prompt (drive C shown in this example):
  1200.  
  1201. C:\>
  1202.  
  1203. If you have more than 1 hard drive/partition, change to your other
  1204. drive/partition letter(s) by running (example):
  1205.  
  1206. D:
  1207.  
  1208. each followed by your particular FIND! command.
  1209. Another example: to locate all files begining with letter "A" on your current
  1210. drive/partition, run:
  1211.  
  1212. FIND! A*.*
  1213.  
  1214. FIND!.BAT uses the "DIR" (stands for "DIRectory") internal MS-DOS command,
  1215. built into COMMAND.COM (the default MS-DOS command interpreter which loads in
  1216. memory upon bootup).
  1217. If your search report is longer than the standard DOS screen (80 lines by 25
  1218. columns), listing too many files to be displayed on a single screen, the BATch
  1219. file stops at the end of each page [due to the use of the "/P" (Page) switch
  1220. for the "DIR" command], and you need to press a key to continue to the next.
  1221. To see all available command line parameters for DIR, run:
  1222.  
  1223. DIR /?
  1224.  
  1225. from any DOS prompt.
  1226.  
  1227. NOTE: FIND!.BAT works ONLY with MS-DOS 6.xx or Windows 95/98/ME [a.k.a. MS-DOS
  1228. 7.xx/8.00], but NOT with ANY MS-DOS release earlier than 6.00, because
  1229. Microsoft added the "/S" command line switch to the "DIR" command ONLY in
  1230. MS-DOS 6.00 and newer, making possible to search for files/directories an
  1231. ENTIRE drive/partition by using "DIR", ONLY IF the search starts in the root
  1232. directory.
  1233. The only difference is that Win9x/ME version of "DIR" adds the "/V" (extended
  1234. View) switch, NOT available in MS-DOS 6.xx.
  1235.  
  1236.  
  1237.  
  1238. DATE/TIME FUN
  1239.  
  1240.  
  1241.  
  1242. Did you know that you can change the date and time display format to your
  1243. liking? The Control Panel icons won't let you mess around with those
  1244. settings too much (you're limited to a certain number of characters and
  1245. symbols), so you'll have to hack a little.
  1246. It's very easy, as almost anything goes. Let me explain. Just open your
  1247. WIN.INI file (found in your Windows directory) with Notepad.
  1248. NOTE: Before messing around with this file, MAKE A BACKUP COPY JUST TO BE ON
  1249. THE SAFE SIDE!... And, if you would like to be entirely on the safe side,
  1250. would you read (and eventually do) any of this?! :-)
  1251. Back to the business at hand: in WIN.INI, scroll down to the [intl] section
  1252. (stands for "International"). It looks something like this:
  1253. [intl]
  1254. sLanguage=enu
  1255. sCountry=United States
  1256. iCountry=1
  1257. iDate=0
  1258. iTime=1
  1259. iTLZero=0
  1260. iCurrency=0
  1261. iCurrDigits=2
  1262. iNegCurr=0
  1263. iLzero=1
  1264. iDigits=2
  1265. iMeasure=1
  1266. s1159=
  1267. s2359=
  1268. sCurrency=$
  1269. sThousand=,
  1270. sDecimal=.
  1271. sDate=/
  1272. sTime=:
  1273. sList=,
  1274. sShortDate=M/d/yy
  1275. sLongDate=dddd', 'MMMM' 'dd', 'yyyy
  1276. And now for the fun changes. As you can see, the "iTime=" line has a value of
  1277. 1 on my machine. Windows assigns it a value of 0 by default.
  1278. It changes actually the looks of the time display in File Manager, and in
  1279. whatever application/utility shows the date and the time.
  1280. When it is 0, the time looks like this: 12:00:00AM (don't you hate somebody
  1281. telling you it's 12, midnight?) I do, so with the value of 1, the date looks
  1282. like this: 00:00:00AM (we're doing better already..., just read on).
  1283. The line "iDate=" has 1 as default value. That means the date looks like this:
  1284. 1/1/96. I don't like this look, so I changed it to 0. Now it looks like this:
  1285. 01/01/96.
  1286. Also, the date and time separators, the "sDate=" and respectively "sTime="
  1287. lines, can be changed to most any punctuation and/or symbol crosses your mind.
  1288. I personally tried these: / (default separator for the date), -, =, +, \, |,
  1289. : (default separator for the time), ;, ~, `, ', ", @, #, $, %, ^, &, *, (, ),
  1290. [, ], {, }, _, and even the . (period), and the , (coma). You decide which
  1291. ones you like best for your own date/"time machine".
  1292. You can also change the way the date shows the order: month/day/year, or a bit
  1293. bizarre: year/month/day etc. Just modify the "sShortDate=" line to the way
  1294. you see today's date.
  1295. Same principle applies to the way the long date shows: the "sLongDate="
  1296. line (capital M on this line means the name of the month is going to begin
  1297. with a capital letter).
  1298. You can find infinite combinations, to make the date/time look good on your
  1299. screen, so... Make my day... :-)
  1300. Have fun.
  1301.  
  1302.  
  1303.  
  1304. FAST, FAST, FAST
  1305.  
  1306.  
  1307.  
  1308. For those of you who own a 28,800 (or faster) bps modem installed with a fast
  1309. 16550AF/16550AN UART (Universal Asynchronous Receiver Transmitter) on your
  1310. system, there is a way to maximize your UART internal transfer speed.
  1311. There are actually 2 methods to achieve this:
  1312. 1. One is to open Control Panel, and then double-click on the Ports icon.
  1313. Click the Serial Communications port [COMx] you want to set (the one that
  1314. your modem is connected to). In the Port Settings screen, change the number
  1315. to show 921600 bps (bits per second). Click OK to save your settings, and
  1316. you're on!
  1317. 2. The other method is to open your WIN.INI file, located in your Windows
  1318. directory, with Notepad. Scroll down to the [Ports] section. There you'll
  1319. find the COM1:, COM2:, COM3: and COM4: lines, each followed by an equal sign,
  1320. and by some numbers and letters. Replace those lines with these:
  1321.  
  1322. COM1:=921600,n,8,1,p
  1323. COM2:=921600,n,8,1,p
  1324. COM3:=921600,n,8,1,p
  1325. COM4:=921600,n,8,1,p
  1326.  
  1327. MEANING:
  1328. - COMx: = physical COMmunications port number: x = 1 - 4 on most PCs
  1329. - 921600 = internal COMmunications port speed measured in bits per second
  1330.   [bps]. Maximum is 921600, depending on the UART type and speed. Default is
  1331.   9600 bps
  1332. - n = parity bit: n = none (default is e = even)
  1333. - 8 = data bits: 8 (maximum 8, default is 7)
  1334. - 1 = stop bits: 1 (maximum 2, default is 2)
  1335. - p = hardware shaking (default is x = software shaking)
  1336.  
  1337. Save your file and then restart Windows for the changes to take effect.
  1338. Or if you like, you can set this way only the COM port that has your
  1339. modem/fax card connected to (that's the one that is going to take advantage
  1340. of this speed improvement anyway). If you have a serial mouse connected to a
  1341. COM port, you may want to leave that COM port settings unchanged, since the
  1342. mouse baud rate is limited to 1200-2400 (and only in rare cases goes up to
  1343. 9600 baud).
  1344. From now on, you will experience faster transfers when using your ISP
  1345. (TCP/IP protocol), Online Service (i.e AOL), or your Communications/Fax
  1346. applications.
  1347.  
  1348. TIP: Read "RELEASE MY MODEM!" and "SYSTEM.INI TWEAKS" in MYTIPS31.TXT (this
  1349. file) for more COMmunication ports settings.
  1350.  
  1351.  
  1352.  
  1353. SWAP FILE
  1354.  
  1355.  
  1356.  
  1357. THIS TIP IS INTENDED FOR USERS OF THE WINDOWS 95/98/ME DUAL-BOOT FEATURE, AND
  1358. REQUIRES THAT YOU HAVE WINDOWS 95, 98 OR ME, WINDOWS/WFWG 3.1x + MS-DOS 6.xx
  1359. PROPERLY INSTALLED ON YOUR SYSTEM!
  1360.  
  1361. IMPORTANT:
  1362. To properly enable the dual-boot feature under OSR2/Win98, you need to apply
  1363. the steps detailed in "DUAL-BOOT IN OSR2/WIN98":
  1364. http://members.aol.com/axcel216/osr2.htm#2BOOT
  1365. also in OSR2TIPS.TXT, part of W95-11D.ZIP:
  1366. http://members.aol.com/axcel216/95.htm
  1367.  
  1368. CAUTION: UNDOCUMENTED AND DANGEROUS IF NOT DONE PROPERLY !
  1369.  
  1370. All different MS Windows specific issues are detailed below and all Windows
  1371. versions are clearly stated:
  1372. 1. Windows 95/OSR2/98 (Win9x) AND Windows/WfWG 3.1x (Win31) users:
  1373. Windows 9x uses by default a permanent, resizable swap file (WIN386.SWP),
  1374. found in your Windows directory (default C:\WINDOWS). If you are a dual-boot
  1375. user (still running Win31+DOS6 and Win9x+DOS7 on the same machine), you are
  1376. probably using the Win31 permanent swap file (386SPART.PAR), located in the
  1377. root directory of your boot drive (usually C:\).
  1378. Win31's permanent swap file CAN ALSO BE USED by Win9x as its own!
  1379. * FIRST BACKUP YOUR SYSTEM + REGISTRY FILES: BOTH WIN9X + WIN31 VERSIONS !
  1380. 2. Part for Windows 9x and part for Windows/WfWG 3.1x users:
  1381. You need to edit Win9x's SYSTEM.INI file located in your Windows directory
  1382. (default C:\WINDOWS), and add/modify these lines under the [386enh] section:
  1383.  
  1384. PagingDrive=C:
  1385. MinPagingFileSize=10320        Defines the lower limit of the swap file (if
  1386.                 Win31's permanent swap file size is 10240 KB!)
  1387. PagingFile=C:\386spart.par    To use Win31's permanent swap file as Win9x's.
  1388.  
  1389. Optionally, you can set this upper limit to your swap file:
  1390.  
  1391. MaxPagingFileSize=82560        To have a 80 MB maximum swap file size under
  1392.                 Win9x.
  1393.  
  1394. Specifying the upper limit for the swap file, allows for a less frequent hard
  1395. drive thrashing, thus speeding up the reading from/writing to your fixed
  1396. drive(s).
  1397. Edit SYSTEM.INI with Notepad or Sysedit, save your changes and restart
  1398. Windows.
  1399. IMPORTANT:
  1400. You have to specify the correct size of your Win31 swap file! Example: if you
  1401. select a 10240 KB permanent Win31 swap file (from the 386 Enhanced icon in
  1402. Control Panel), then the Win9x swap file size MUST be 10320 KB! The principle
  1403. is to choose a multiple of 1032 KB in Win9x's SYSTEM.INI to match Win31's
  1404. swap file size specified as a multiple of 1024 KB in Win31's SYSTEM.INI.
  1405. In this example 386SPART.PAR is 10,567,680 bytes (10 MB) in length.
  1406. Win9x provides its own way of (re)sizing the swap file through the Device
  1407. Manager. To access it: right-click on "My Computer" -> select Properties ->
  1408. click the Performance tab -> click Virtual Memory -> check "Let me specify my
  1409. own virtual memory settings". Change the Minimum value to 10 (above example).
  1410. BEWARE: Win9x might delete the line "PagingFile=c:\386spart.par" from
  1411. SYSTEM.INI's [386enh] section, after you resized the swap file using the
  1412. Device Manager. If this happens, add this line yourself (no quotes).
  1413. To prevent Win9x from deleting the PagingFile line, add it one more time, but
  1414. with a semicolon (;) in front of it. Any line begining with a ";" in any
  1415. Windows INI(tialization) file is treated as a comment, and won't be deleted.
  1416. You'll have to reboot/restart Windows after clicking OK, to make the changes
  1417. take effect [Win9x will prompt you to reboot anyway :)].
  1418. 3. Windows/WfWG 3.1x users ONLY:
  1419. In Win31's SYSTEM.INI file, you MUST have the following lines under the
  1420. [386enh] header, to make 32-bit disk access work properly:
  1421.  
  1422. device=*pageswap
  1423. device=*pagefile
  1424. device=*wdctrl        ONLY for (E)IDE/ATA hard drives smaller than 528 MB
  1425.             (Win31 default driver).
  1426.  
  1427. If you have a hard disk larger than 528 MB (with more than 1024 cylinders),
  1428. use one of these 3rd party Windows/WfWG 3.1x 32-bit Fast Disk Access (FBDA)
  1429. drivers, compatible with ALL (E)IDE/ATA hard drivesup to 8 GB, with up to 2
  1430. GB per logical partition:
  1431.  
  1432. device=WDCDRV.386    Western Digital driver.
  1433. or:
  1434. device=MH32BIT.386    Micro House driver.
  1435. or:
  1436. device=ONTRACKW.386    OnTrack driver.
  1437. or:
  1438. device=SEG32BIT.386    Seagate driver.
  1439.  
  1440. Your motherboard's BIOS MUST support hard disk LBA (Logical Block Addressing)
  1441. and ECHS (Enhanced Cylinder/Head/Sector) standards for these 32-bit drivers to
  1442. work properly!
  1443. More FBDA info:
  1444. http://www.os2site.com/sw/hardware/storage/32bfafaq.txt
  1445.  
  1446. Other MANDATORY lines under SYSTEM.INI's [386enh] section:
  1447.  
  1448. device=ios.386        Protected mode Win31 386 enhanced device manager.
  1449. device=vxdldr.386    Virtual eXtended driver (VXD) for handling 32-bit
  1450.             disk access in Win31.
  1451. device=vcache.386    Enables 32-bit File Access ONLY in WfWG 3.1x!
  1452. 32BitDiskAccess=on    Turns on 32-bit Fast Disk Access in Win31 AND Win9x!
  1453. PageBuffers=32        Increases the number of paging buffers (optional).
  1454. PermSwapDOSDrive=C    Default uncompressed (fastest) swap hard drive.
  1455. PermSwapSizeK=10240    Win31 permanent swap file size in KB. Win9x's swap
  1456.             file size in this case MUST be 10320 KB!
  1457.  
  1458. ... And this line, under the [vcache] section of SYSTEM.INI (Win31 AND Win9x):
  1459.  
  1460. MinFileCache=2048    If you chose a 32-bit file access size of 2048 KB (2
  1461.             MB) through Control Panel -> 386 Enhanced icon ->
  1462.             Virtual Memory -> Change Virtual Memory Settings ->
  1463.             Use 32-bit File Access -> Change size (Win31). In
  1464.             Win9x/ME you'll have to edit SYSTEM.INI manually and
  1465.             add/modify this line yourself.
  1466.  
  1467. Optionally, you can also set the upper limit for the file cache size, to
  1468. reduce hard drive thrashing, in SYSTEM.INI, the [vcache] section (Win31 AND
  1469. Win9x):
  1470. MaxFileCache=4096
  1471. to allow the memory file cache to grow to a maximum of 4 MB.
  1472. Choose a MaxFileCache of 4 MB ONLY if your system has at least 16 MB of RAM
  1473. installed! A MaxFileCache greater than 4 MB won't increase performance
  1474. significantly anyway, especially if you have less than 10,000 files on each
  1475. drive/partition.
  1476. See "HARD DRIVE THRASHING" in MYTIPS31.TXT (this file) for more details.
  1477. Win31 32-bit protected mode Fast Disk drivers (all free):
  1478. - Western Digital WDCDRV.386 v2.6 [129 KB]:
  1479. http://ftp3.ru.freebsd.org/pub/pc/hardware/wdc/drivers/hdutil/32pack.exe
  1480. - Micro House MH32BIT.386 v3.10 [74 KB]:
  1481. http://www.maxtor.com/softwaredownload/main/win32bit.exe
  1482. - OnTrack ONTRACKW.386 v1.03 [43 KB]:
  1483. http://www.maxtor.com/quantum/support/csr/software/disk_binaries/ontrk386.exe
  1484. - Seagate SEG32BIT.386 v801176 [71 KB]:
  1485. ftp://ftp.seagate.com/techsuppt/windows/seg32176.exe
  1486. In Win31's SYSTEM.INI, you can use only ONE of the 2 drivers mentioned above
  1487. depending on the size/model of your hard drive. Win31 default is "*wdctrl",
  1488. but you'll need one of these custom drivers if your (E)IDE hard drive(s) are
  1489. larger than 528 MB (and most newer hard drives are)!
  1490. If you have a SCSI hard drive you'll have to get a 32-bit Win31 disk access
  1491. driver from your drive manufacturer, only for the SCSI hard drives supported
  1492. by Win31's 32-bit disk access feature. :(
  1493. 4. Windows 9x users ONLY:
  1494. Reboot. Now you can safely delete Win9x's default swap file (WIN386.SWP) from
  1495. your Windows directory.
  1496. 5. Windows 9x AND Windows/WfWG 3.1x users:
  1497. * MAKE SURE YOU FOLLOW THESE INSTRUCTIONS EXACTLY, AND CHOOSE YOUR OWN SWAP
  1498. FILE SIZE IN WIN31 ACCORDING TO YOUR NEEDS AND THE AMOUNT OF MEMORY (RAM)
  1499. INSTALLED IN YOUR SYSTEM! Otherwise you may get a:
  1500. - "Corrupt Windows swap file" message when Win31 loads, and you'll have to
  1501. delete it and reassign a new permanent swap file in Control Panel -> 386
  1502. Enhanced icon!
  1503. - A VFAT error message or a 32-bit disk access error while loading Win9x,
  1504. especially if using the dual-boot feature!
  1505. 6. Windows 9x users ONLY:
  1506. After making such modifications, ALWAYS check the Device Manager Performance
  1507. tab for any "MS-DOS mode 16-bit access drivers" alert messages, that would
  1508. impair disk performance under Win9x! You SHOULDN'T HAVE any such messages to
  1509. start with! The File System and Virtual Memory lines should ALL state
  1510. "32-bit" and you should see this message at the bottom:
  1511. "Your system is configured for optimal performance."
  1512. 7. ALL Windows 9x AND Windows/WfWG 3.1x users:
  1513. Good luck! :)
  1514. ... And may you have NO Microsoft crashes!
  1515.  
  1516. UPDATES:
  1517. 1. See the "Troubleshooting MS-DOS Compatibility Mode on Hard Disks" MSKB
  1518. article [Win9x users]:
  1519. http://support.microsoft.com/support/kb/articles/q130/1/79.asp
  1520. 2. See "FIXED SWAP FILE" and "9X/2000/NT/ME/XP/3.1X MULTIBOOT SWAP FILE" in
  1521. MYTIPS31.TXT (this file).
  1522.  
  1523.  
  1524.  
  1525. HARD DRIVE THRASHING
  1526.  
  1527.  
  1528.  
  1529. To reduce your hard drive thrashing (annoying, non-stop spinning) and decrease
  1530. potential delays, edit your SYSTEM.INI file's [vcache] section to read
  1531. (SYSTEM.INI is located in your Windows directory):
  1532.  
  1533. [vcache]
  1534. MinFileCache=2048
  1535. MaxFileCache=4096
  1536. ChunkSize=512
  1537.  
  1538. MEANING:
  1539.  
  1540. - "MinFileCache" specifies the minimum amount of system memory allocated for
  1541. caching files in KiloBytes (KB). Allowed values: minimum 128 KB - maximum
  1542. 51200 KB [50 MB]. Default value (if not present): varies depending on
  1543. installed system RAM.
  1544. - "MaxFileCache" specifies the maximum amount of system memory allocated for
  1545. caching files in KiloBytes (KB). Allowed values: minimum 256 KB - maximum
  1546. 56320 KB [55 MB]. Default value (if not present): varies depending on
  1547. installed system RAM.
  1548. - "ChunkSize" specifies the size of each block of cache memory buffer in
  1549. Bytes (B). Allowed values: minimum 8 B - maximum 8192 B [8 KB]. Default value
  1550. (if not present): 512 B.
  1551. - "AllocPageFixed" specifies whether to allow (if set ot OFF) Windows Vcache
  1552. 32-bit protected driver to adjust the virtual file cache size to the current
  1553. needs, or to disallow (if set to ON) the file cache to be resized (fixed).
  1554. Allowed values: ON (fixed file cache) or OFF (resizable file cache). Default
  1555. value: OFF. You can replace ON with 1, YES or TRUE, and OFF with 0, NO or
  1556. FALSE, respectively (boolean *.INI entries). For maximum performance it is
  1557. recommended to leave it OFF, and let Windows manage its own file cache size.
  1558.  
  1559. File caching is handled by the dedicated VCACHE.386 driver in Windows for
  1560. WorkGroups (WfWG) 3.1x (located in %windir%\SYSTEM).
  1561. These are the mandatory entries for file cache to work properly:
  1562. - WfWG 3.1x: under the System.ini [386enh] section:
  1563.  
  1564. [386enh]
  1565. device=vcache.386
  1566.  
  1567. Older Windows 3.xx releases canNOT cache files, relying on the MS-DOS mode
  1568. SMARTDRV.EXE 16-bit disk cache tool for this purpose [much slower :(].
  1569.  
  1570. The lines above are useful on systems with at least 16 MB of RAM installed.
  1571. On systems with 8 MB or less, try these conservative System.ini [vcache]
  1572. settings:
  1573.  
  1574. [vcache]
  1575. MinFileCache=1024
  1576. MaxFileCache=2048
  1577. ChunkSize=512
  1578.  
  1579. On machines with 32 MB or more, you may want to adjust the "MinFileCache" to
  1580. 1/8 of your installed RAM, and "MaxFileCache" to 1/4. Some trial and error
  1581. might be necessary, depending on your particular system configuration.
  1582. Create the System.ini [vcache] section if not present.
  1583. Save your work, and then restart Windows for these changes to take effect.
  1584. And don't forget to BACKUP your SYSTEM.INI FIRST!
  1585. Here are some recommended "MinFileCache" and "MaxFileCache" values depending
  1586. on your installed memory (note that the minimum and maximum cache values are
  1587. NOT the same, which helps if you routinely perform tasks dealing with large
  1588. files):
  1589.  
  1590. Memory (RAM)    MinFileCache    MaxFileCache
  1591. --------------------------------------------
  1592.   8 MB         1024         2048
  1593.  16 MB         2048         4096
  1594.  32 MB         4096         8192
  1595.  64 MB         8192        16384
  1596. 128 MB        16384        32768
  1597. 256 MB        32768        56320
  1598. 512 MB        51200        56320
  1599.  
  1600. On systems with 128 MB RAM or more, you may want to delete these setings from
  1601. your SYTEM.INI altogether (if present), and let Windows handle its own file
  1602. cache sizes for optimal performance.
  1603. I have experimented with these values on 32, 64 and 128 MB systems. You may
  1604. find that other values work better on your computer, depending on what kind
  1605. of apps/games you're using: business, CAD/graphics rendering, animation/video
  1606. editing, development, publishing, 3D gaming, Internet, CD/DVD burning etc.
  1607.  
  1608. FYI: See the "32-Bit File Access Maximum Cache Size" MSKB article:
  1609. http://support.microsoft.com/support/kb/articles/q108/0/79.asp
  1610.  
  1611. Also consider running a benchmark utility like Windows Magazine's WinTune
  1612. 16-bit for Windows/WfWG 3.1x [1.2 MB, free]:
  1613. http://wcarchive.cdrom.com/pub/simtelnet/win3/util/wt20.zip
  1614. to determine your hard disk(s)' raw I/O performance.
  1615.  
  1616.  
  1617.  
  1618. FIXED SWAP FILE
  1619.  
  1620.  
  1621.  
  1622. Setting a Windows/WfWG 3.1x fixed size swap file will drastically reduce the
  1623. thrashing (frequent access) your hard disk constantly takes from the Windows
  1624. Dynapage VXD [Virtual eXtended (protected mode) Driver], thus avoiding the
  1625. continuous variable size swap file resizing (default operation), and therefore
  1626. spend less time listening to your hard drive churning. :)
  1627. Basically the swap file supplements system RAM (real memory) with disk space
  1628. (virtual memory). MS Windows manages virtual memory by "swapping" ("dumping")
  1629. chunks of data from system RAM (much faster), when physical RAM runs out, to
  1630. the fixed disk (much slower), by writing them to the swap file (this is called
  1631. "paging"), from where it can be later retrieved and used as needed.
  1632. To do this: open Control Panel -> 386 Enhanced -> Virtual Memory -> disable
  1633. the swap file completely.
  1634. Exit Windows and Defragment all your hard disk(s)/partitions using the MS-DOS
  1635. 6.xx mode DEFRAG.EXE tool.
  1636. If using a dual-boot setup (Win31/DOS6 + Win9x/ME) you MUST use the Win9x/ME
  1637. 32-bit Defrag tool to preserve Long File Names (LFNs)!
  1638. Then restart Windows again -> reopen Control Panel -> 386 Enhanced -> Virtual
  1639. Memory -> select a new permanent swap file by setting the Minimum and Maximum
  1640. sizes the SAME.
  1641. From now on you'll enjoy less time waiting for your hard disk to spin. :)
  1642. You can also do this by adding or modifying these two lines (using Notepad)
  1643. under the [386enh] section of your SYSTEM.INI file (found in your Windows
  1644. directory):
  1645.  
  1646. [386enh]
  1647. MinPagingFileSize=206400
  1648. MaxPagingFileSize=206400
  1649.  
  1650. Save the file and restart Windows.
  1651. In this case the swap file's fixed size is 200 MB (206,400 KB).
  1652. The System.ini lines above need to have the size of your swap file specified
  1653. in KiloBytes (KB). To convert the size from MegaBytes (MB) into KiloBytes
  1654. (KB), use this formula (same example above: 200 MB):
  1655. 200 MB x 1032 = 206,400 KB
  1656. See also "SWAP FILE" in MYTIPS31.TXT (this file) for more tweaks.
  1657. Use a Win31 monitoring/benchmark tool like WinMag WinTune 2.0 [1.2 MB, free]:
  1658. http://wcarchive.cdrom.com/pub/simtelnet/win3/util/wt20.zip
  1659. to determine the maximum swap file size used when running the most
  1660. disk/memory/CPU intensive apps/games.
  1661. Then look at the largest number (in KiloBytes) which represents the maximum
  1662. size of the used swap file. Add another 41,280 KB (40 MB) to this value to
  1663. make sure your system will never go over this limit, and then type this new
  1664. number on both SYSTEM.INI lines above (in KB). Restart Windows when done.
  1665. This is ONLY my own estimate. You'll have to figure out yours, taking in
  1666. consideration the types of software used (3D games, CD burning, true color
  1667. image rendering/editing, desktop publishing etc) and your fixed disk(s) free
  1668. space necessary to hold the swap file, to have your system run smoothly.
  1669.  
  1670.  
  1671.  
  1672. WRONG PATH
  1673.  
  1674.  
  1675.  
  1676. If you try to start an installation/setup program that installs a new
  1677. application/game on your Windows 3.1x system from a temporary directory that
  1678. is listed in your path (on the Autoexec.bat file PATH line), it may end up
  1679. locking your system!
  1680. Run any Windows Setup/Install program from a directory or subdirectory NOT
  1681. listed on your PATH line, to insure compatibility and "smooth" installation.
  1682. NOTE: In MS-DOS 6.xx you can place the PATH line in your Config.sys instead.
  1683.  
  1684.  
  1685.  
  1686. :: OR REM?
  1687.  
  1688.  
  1689.  
  1690. You can use the "::" (double colon) symbols, instead of using the well known
  1691. "REM" command in your Autoexec.bat file, to "remark" or disable the lines
  1692. you want. By using "::" (use no quotes), the MS-DOS bootup sequence skips
  1693. those lines all together, and does NOT process them, as it would if using
  1694. "REM", thus saving a few precious milliseconds (depending on your CPU speed)
  1695. at bootup. This command can be used in ANY DOS batch (.BAT) file. Example:
  1696. :: LH C:\MOUSE\MOUSE /1
  1697. This line is completely ignored by MS-DOS at bootup, and doesn't load your
  1698. MS-DOS mode mouse driver.
  1699. NOTE: The double colon remark notation canNOT be used in Config.sys. But you
  1700. can replace the standard Config.sys REM command with a semicolon (;) for
  1701. same effect.
  1702.  
  1703.  
  1704.  
  1705. ORDER, PLEASE!
  1706.  
  1707.  
  1708.  
  1709. Below I tried to list the detailed correlation between Config.sys and
  1710. Autoexec.bat command lines order, the order in which devices (drivers, TSRs)
  1711. load in memory (conventional, upper, high, extended, expanded), and the
  1712. bootup sequence.
  1713. The order of devices in memory is the order in which they are loaded at boot
  1714. time, depending on DOS UMBs (Upper Memory Blocks), and the mapping of all
  1715. installed RAM above the first meg as extended and/or expanded memory. This
  1716. availability is provided by the extended memory manager (MS-DOS's HIMEM.SYS
  1717. with or without EMM386.EXE), and the amount of largest contiguous upper RAM
  1718. region, available for drivers, known as UMBs (UMBs apply only to the Upper
  1719. Memory Area, UMA, and ONLY if an expanded/extended memory manager is loaded,
  1720. like EMM386.EXE, using the proper parameters to enable UMA).
  1721. Each device driver (TSR) must find a comfy place to load (its initial
  1722. loading size is larger than its final loading size).
  1723. Some vital (essential) devices load first, independent of size, and all the
  1724. others follow (as MS-DOS routine searches for what to load first at bootup
  1725. time).
  1726. The drivers that load from Config.sys come ALWAYS before the ones from
  1727. Autoexec.bat (MS-DOS processes these two files in this specific order:
  1728. Config.sys first, Autoexec.bat last).
  1729. The order of loading devices/drivers/TSRs from the startup files during
  1730. MS-DOS 6.xx bootup sequence:
  1731. First, MS-DOS startup routine looks for your IO.SYS and then for MSDOS.SYS,
  1732. hidden/system files, located in the root directory of your boot drive
  1733. (default is C:\).
  1734. MS-DOS 6.xx System/Configuration files in C:\ root (default):
  1735.  - MSDOS.SYS        Load MS-DOS operating system defaults
  1736.  - IO.SYS        Load the operating system I/O defaults
  1737.  - COMMAND.COM        The command line interpreter.
  1738.  - CONFIG.SYS        Not necessary for proper operation.
  1739.  - AUTOEXEC.BAT        Not necessary for proper operation.
  1740.  - MSDOS.W40        MS-DOS 7.00/Win95 System file (if any).
  1741.  - WINBOOT.SYS        MS-DOS 7.00/Win95 System file (if any).
  1742.  - COMMAND.W40        MS-DOS 7.00/Win95 System file (if any).
  1743.  - CONFIG.W40        MS-DOS 7.00/Win95 Configuration file (if any).
  1744.  - AUTOEXEC.W40        MS-DOS 7.00/Win95 Configuration file (if any).
  1745. NOTE: WINBOOT.SYS and all .W40 extension files above belong to the MS-DOS
  1746. 7.00/Windows 95/98 version and are present ONLY on Windows 95/98 enabled
  1747. dual-boot systems!
  1748.  1. IO.SYS and MSDOS.SYS (mandatory, load before the startup files are
  1749.     processed);
  1750.  2. HIMEM.SYS (or a 3rd party memory manager, like: QEMM, Helix NetRoom,
  1751.     385MAX etc, mandatory for Windows/WfWG 3.1x GUI to load);
  1752.  3. SYSTEM/MSDOS module (mandatory, part in upper memory if available, part
  1753.     in conventional memory);
  1754.  4. DOS=HIGH,UMB (if present in Config.sys, otherwise defaults to the DOS
  1755.     presets: DOS=LOW,NOUMB);
  1756.  5. BUFFERS, FCBS, FILES, LASTDRIVE, STACKS (if present in Config.sys,
  1757.     otherwise default to DOS presets: BUFFERS=30; FCBS=4,0; FILES=40;
  1758.     LASTDRIVE=Z; STACKS=9,256);
  1759.  6. EMM386.EXE (or other 3rd party expanded/extended memory manager, if
  1760.     any);
  1761.  7. DRVSPACE.SYS/DBLSPACE.SYS (loads Drvspace.bin/Dblspace.bin, which is
  1762.     mandatory, IF using MS-DOS's disk compression tool, DrvSpace or
  1763.     DblSpace);
  1764.  8. IFSHLP.SYS (mandatory for Windows/WfWG 3.1x 32-bit disk access
  1765.     compatibility with DOS mode);
  1766.  9. All other DEVICEHIGH and DEVICE lines in Config.sys (if any);
  1767. 10. All INSTALL and INSTALLHIGH lines in Config.sys (if any);
  1768. 11. The SHELL line in Config.sys (if any);
  1769. 12. The SET COMSPEC line (mandatory, loads as a preset if the SHELL line
  1770.     is not found). The bootup routine looks for COMMAND.COM in
  1771.     C:\DOS and in C:\ root. If not found, the boot sequence stops,
  1772.     prompting the user for action, making necessary to manually type the
  1773.     location of Command.com (the command line interpreter);
  1774. 13. All the SET lines in Config.sys (if any);
  1775. 14. SETVER.EXE (if found in its default directory, C:\WINDOWS);
  1776. 15. All LH (LOADHIGH), SET and other loading lines in Autoexec.bat.
  1777. (Autoexec.bat lines load in the order in which you have them listed in the
  1778. file).
  1779. Some programs (like MS Windows) and some drivers (like Smartdrv) need an
  1780. extended memory driver (like Himem.sys) loaded in order to be able to load
  1781. properly and access the provided extended memory (which is usually set to
  1782. the maximum of installed RAM on the respective system).
  1783. If HIMEM or another extended memory manager is not present, Windows (or/and
  1784. Smartdrv) display an error message and abort the loading sequence.
  1785. Most other drivers load low (in conventional memory) if an extended LIM
  1786. (Lotus/Intel/Microsoft specifications) compatible memory manager is not
  1787. detected.
  1788. MS-DOS 6.xx loads HIMEM.SYS, IFSHLP.SYS, SETVER.EXE, and DRVSPACE.SYS or
  1789. DBLSPACE.SYS (if disk compression is detected) even if they are not present
  1790. in your Config.sys, BUT it needs to find them in their default locations,
  1791. specified on the PATH line in your Config.sys or Autoexec.bat.
  1792. If you use any DOS mode programs, you may want to load all the Config.sys
  1793. drivers with the DEVICEHIGH command, to gain more conventional memory (but
  1794. make sure you have an expanded/extended memory manager loaded, like
  1795. EMM386.EXE, in your Config.sys, to make this possible).
  1796. The only drivers that can ONLY load low (in conventional memory) are the
  1797. memory managers themselves (HIMEM.SYS and EMM386.EXE, or similar 3rd party
  1798. devices, like QEMM, RM386, 386MAX etc), so their only choice is the
  1799. DEVICE command line in Config.sys.
  1800. The Autoexec.bat command counterpart for loading TSRs in upper memory is
  1801. LOADHIGH (which can be abbreviated to LH).
  1802.  
  1803.  
  1804.  
  1805. SPEAKER CHALLENGE [+]
  1806.  
  1807.  
  1808.  
  1809. This tip was submitted by a good friend, formerly "computer challenged", but
  1810. now well ahead on his way as a Windows 3.1x/9x "tweaking expert". ;)
  1811. Thanks a bunch Ted!
  1812. This is the Microsoft PC Speaker driver [21 KB, free]:
  1813. ftp://ftp.microsoft.com/softlib/mslfiles/SPEAK.EXE
  1814. This MSKB article explains how to install the PC Speaker Driver:
  1815. http://support.microsoft.com/support/kb/articles/q138/8/57.asp
  1816. This PC Speaker driver works with ALL Windows 9x/ME/3.1x releases.
  1817. Windows 9x/ME users: see "PC SPEAKER" in TIPS95.TXT, part of W95-11D.ZIP:
  1818. http://members.aol.com/axcel216/95.htm
  1819.  
  1820. "I have upgraded from a 486DX/33 to a Pentium 90.
  1821. While I expected faster execution, I did not expect the high pitched squeaks
  1822. that had been the "Ta-Dah" sound when Windows launched and Paul Harvey's
  1823. "Good Day" (freebies from Windows Magazine). I asked around and was told that
  1824. I needed a better driver for my PC Speaker (I don't have a separate audio
  1825. card yet).
  1826. I searched, but found nothing that seemed to help. Then, I stumbled across a
  1827. solution right under my nose:
  1828. Go to Control Panel (Windows/WfWG 3.1x) and click on "Drivers". I found a
  1829. long list that I'd never heard of, but one sounded right "Sound Driver for PC
  1830. Speaker". Highlight that, then click on "Setup" and there to my wondering
  1831. eyes were "Controls" for Speed, Volume and Number of seconds (to limit the
  1832. time the sound is played). Use your cursor to move the sliding "Switch", then
  1833. click on "Test".
  1834. "Ta-Dah" and Paul Harvey's "Good Day" have never sounded better.
  1835. Happy listening!"
  1836.  
  1837.  
  1838.  
  1839. NOTEPAD STAMP [+]
  1840.  
  1841.  
  1842.  
  1843. Many thanks (groetz@tiac.net) for your cool tips.
  1844.  
  1845. 1. "Pressing F5 in Notepad inserts the current date and time stamp at the
  1846. location of the cursor.
  1847. 2. Also, if typing .LOG as the first line in a Notepad document, the date/time
  1848. stamp is added automatically every time upon reopening that file.
  1849. These tips work with both Windows 9x (32-bit) and 3.1x (16-bit) versions of
  1850. Notepad."
  1851.  
  1852.  
  1853.  
  1854. NO LOGO [+]
  1855.  
  1856.  
  1857.  
  1858. Courtesy of Belg4mit@aol.com.
  1859.  
  1860. "There is a better way to create WIN.COM without a logo (default locations
  1861. used here):
  1862. C:
  1863. CD\WINDOWS
  1864. COPY /B WIN.CNF WIN.COM
  1865. This mothod saves the 112 bytes your blank NOLOGO.RLE file takes up."
  1866.  
  1867. WARNING: This may cause sudden lockups with some older video controllers!
  1868.  
  1869. FYI:
  1870. - To learn about another (safe) method of starting Windows/WfWG 3.1x without a
  1871. logo see NEWLOGO.TXT (included).
  1872. - You can use WinLogo [160 KB, nag shareware]:
  1873. http://www.calmira.org/downloads/files/misc/winlogo.zip
  1874. to replace the default RLE picture from WIN.COM with the one of your choice,
  1875. which MUST be < 40 KB in size.
  1876.  
  1877.  
  1878.  
  1879. SYSTEM DLLS
  1880.  
  1881.  
  1882.  
  1883. I don't agree with programs that keep their system DLLs (Dynamic Link
  1884. Libraries) into their own directories, especially when they are older
  1885. versions duplicates of the ones normally located in \Windows\System.
  1886. I found out that the \Windows\System directory sometimes also contains the
  1887. same DLLs but usually of different (and if I'm lucky, newer) versions, which
  1888. may conflict/interfere with some (poorly written), usually older programs.
  1889. So I figured out that whenever I install a new Windows program, I usually
  1890. compare the same name duplicate DLLs, starting a search for that particular
  1891. filename (present in both the program's directory and in \Windows\System) on
  1892. the entire drive, and erase (ONLY AFTER BACKING THEM UP!) all the older
  1893. versions, to keep only the newest ones in \Windows\System. The Windows System
  1894. directory is accessed by ALL properly installed applications, to find their
  1895. needed Dynamic Link Libraries (newest versions are better to keep for
  1896. compatibility reasons).
  1897. To uninstall a particular application properly, I keep a text file with the
  1898. same program executable name (but with the .TXT extension) in its own
  1899. directory, and list there all DLLs used by it (that had duplicates at the
  1900. time of installation).
  1901. This way I know which DLLs to delete from \Windows\System when uninstalling
  1902. that particular program, WITHOUT affecting ANY other apps on my machine.
  1903. Sounds like a whole lot of work, but it saved me from trouble a few times,
  1904. since I don't trust this task to be done by commercial Uninstallers.
  1905.  
  1906.  
  1907.  
  1908. MODEM COM PORT
  1909.  
  1910.  
  1911.  
  1912. If you have Windows for WorkGroups 3.1x, there are a few modem settings you
  1913. can tweak under the [386enh] section of your SYSTEM.INI file to maximize your
  1914. modem connection speed over the Internet using your ISP/online service.
  1915. NOTES:
  1916. - BACKUP your SYTEM.INI FIRST!
  1917. - Some of these tweaks work also with Windows 3.1x.
  1918. Open your SYSTEM.INI (found in your Windows/WfWG directory) with Notepad or
  1919. SysEdit, and add/modify the following lines under the [386enh] section:
  1920.  
  1921. COMxAutoAssign=1    Number in seconds after an application stops using
  1922.             the COM device before another application can take
  1923.             control of the same port.
  1924.  
  1925. COMxBase=2F8h        Base port for the given serial COM port in hex.
  1926.  
  1927. COMxIRQ=3        IRQ assigned to respective COM port.
  1928.  
  1929. COMBoostTime=1        To speed up keyboard buffered operations (decrease
  1930.             character download time) at high speed modem transfers
  1931.             (above 9600 bps), using communications/internet
  1932.             applications. Affects the time (in milliseconds) the
  1933.             Operating System processes a COM port interrupt.
  1934.             Default value is 2. If you notice any loss of keyboard
  1935.             characters while using internet/communications apps,
  1936.             increase it to 4 or higher. Experimenting may be
  1937.             necessary to determine your optimal setting.
  1938.  
  1939. COMxBuffer=1024        To increase the buffer size (in Bytes) for characters
  1940.             sent/received by your communications device (modem) on
  1941.             a specific COM port. Replace x with the COM port
  1942.             number used by your modem. Valid COMx values: 1, 2, 3
  1943.             and 4. Default Buffer value is 128. High values will
  1944.             decrease modem transfer speed slightly, but might
  1945.             prevent loss of characters at high baud rates (above
  1946.             9600 bps). Experimenting may be necessary to find your
  1947.             "sweet spot".
  1948.             NOTE: BEFORE increasing the COMx Buffer value, you
  1949.             need to add a COMxProtocol= line (see setting below):
  1950.  
  1951. COMxProtocol=        To specify whether Windows should stop simulating
  1952.             characters in a Virtual Machine (VM) after the VM
  1953.             sends an XOFF character, if a communications/internet
  1954.             application loses characters while performing text
  1955.             transfers at high baud rates (above 9600 bps), on a
  1956.             specific COM port. Replace x with the COM port number
  1957.             used by your modem. Valid COMx values: 1, 2, 3 and 4.
  1958.             Valid values: XOFF (to stop) or blank (to continue).
  1959.             Default is any value other than XOFF. Set this line to
  1960.             blank when performing binary transfers.
  1961.  
  1962. COMxFIFO=1        Toggles the FIFO buffer of a given COM port's 16550
  1963.             UART: ON (enabled) or OFF (disabled = default).
  1964.  
  1965. COMxTxFIFO=1        Sets transmission FIFO buffer to n bytes.
  1966.             Valid ONLY for WfWG 3.1x!
  1967.  
  1968. COMxRxTrigger=8        Sets receiver bandwith to n bytes (8 is maximum).
  1969.             Valid ONLY for WfWG 3.1x!
  1970.  
  1971. Replace COMx above with the actual COM port number (COM1 to COM4) your modem
  1972. is connected to.
  1973. NOTE: You need to have a buffered 16550 UART chip enabled on your motherboard
  1974. COM port or on your modem card to make all this work!
  1975. You can further "play" with these settings until you're satisfied with your
  1976. modem transfer speed.
  1977. INFO: See this 3COM/US Robotics tech support page:
  1978. http://www.usr.com/home/online/techinfo/10550.htm
  1979.  
  1980.  
  1981.  
  1982. HELP!
  1983.  
  1984.  
  1985.  
  1986. To step sequentially through all the topics of a Windows Help (.HLP) file
  1987. (including the popups), even the ones unlisted in the contents, press Ctrl +
  1988. Shift + J or Ctrl + Alt + J. This way you don't have to return to the contents
  1989. (opening help file screen), and you can browse ANY .HLP file, even if there is
  1990. no browsing sequence defined or no browse buttons available to that particular
  1991. help file.
  1992. You can also use these key "combos" to navigate:
  1993.  
  1994. - Ctrl + Shift + Right Arrow or Ctrl + Alt + Right Arrow = go to next topic.
  1995. - Ctrl + Shift + Left Arrow or Ctrl + Alt + Left Arrow or Alt + B (or press
  1996. the Back button) = go to previous topic.
  1997. - Ctrl + Shift + Home = go to first topic.
  1998. - Ctrl + Shift + End = go to last topic.
  1999.  
  2000. To make this work, add the following line under the [Windows Help] section
  2001. (create it if it doesn't exist) of your WIN.INI file, located in your Windows
  2002. directory. Use Notepad or Sysedit to edit WIN.INI:
  2003.  
  2004. [Windows Help]
  2005. SeqTopicKeys=1
  2006.  
  2007. Save your work and restart Windows.
  2008. This works with ALL Windows 95/98/ME AND 3.1x releases.
  2009.  
  2010. FYI: See "COLORFUL HELP" in MYTIPS31.TXT (this file) to learn how to customize
  2011. your Windows Help files colors.
  2012.  
  2013.  
  2014.  
  2015. DOS MULTITASKING
  2016.  
  2017.  
  2018.  
  2019. To quickly resort to the command line and perform any tasks in a DOS session
  2020. (started from within Windows), create a DOS style batch file with the lines
  2021. below, and name it MSDOS.BAT:
  2022. COMMAND.COM /C %1 %2 %3 %4 %5 %6 %7 %8 %9
  2023. Look up the PATH line in your AUTOEXEC.BAT or CONFIG.SYS file (the latter
  2024. supports the PATH entry ONLY IF using MS-DOS 6.xx), and place MSDOS.BAT in a
  2025. directory on your path, to be able to run any DOS/Windows command/program in
  2026. the background. For example, running this command line from a DOS box:
  2027. MSDOS COPY C:\WINDOWS\*.INI D:\BACKUPS
  2028. copies all .INI files from the C:\WINDOWS directory (standard Win31 setup) to
  2029. the D:\BACKUPS directory in the background, letting you work on other tasks in
  2030. the foreground.
  2031.  
  2032.  
  2033.  
  2034. GOOD OL' UNDELETE
  2035.  
  2036.  
  2037.  
  2038. This tip applies to both Windows 95/98/ME AND MS-DOS 6.xx users who take
  2039. advantage of the Win9x/ME dual-boot feature, and also kept a copy of MS-DOS
  2040. 6.xx and eventually Windows/WfWG 3.xx.
  2041.  
  2042. NOTES:
  2043. - ALL text files below are part of W95-11D.ZIP:
  2044. http://members.aol.com/axcel216/95.htm
  2045. - To properly enable the dual-boot feature built into Win95/OSR1 OS, see "DUAL
  2046. BOOT" in MYTIPS95.TXT!
  2047. - To properly enable the dual-boot feature built into Win98/OSR2 OS, see
  2048. "DUAL-BOOT IN OSR2/WIN98" in OSR2TIPS.TXT!
  2049. - MUST READ: "LOCK IT UP!" in TIPS95.TXT for more details on PROPERLY using
  2050. UNDELETE.EXE with Win9x OS!
  2051.  
  2052. If you use File Manager in Windows to take care of your routine file chores or
  2053. start programs [like I do, an old Win31 habit :)], you can recover files (even
  2054. entire directories) accidentally deleted by the File Manager built-in Delete
  2055. tool, or by ANY other 16-bit application, including the MS-DOS DEL and DELTREE
  2056. commands.
  2057. This workaround saved some of my very important files (text documents) I was
  2058. working on, one (very dark) cloudy day. After saving my work, I accidentally
  2059. deleted all the files in that particular directory before making any backup
  2060. copies (... oops!).
  2061. But I remembered THE solution: I immediately shut down Windows, and rebooted
  2062. into MS-DOS 6.22. Then I ran the MS-DOS mode UNDELETE tool (in true/native DOS
  2063. mode, of course). Et voila, all my "lost" files showed up once again!
  2064.  
  2065. NOTE: File Manager (FM for short, filename WINFILE.EXE, located in your
  2066. Windows directory) is a 16-bit Windows application, so a file deleted by such
  2067. a program CAN BE RECOVERED by UNDELETE.EXE. Files/directories erased by a
  2068. Win32 (32-bit) application MAY NOT BE UNDELETED this way, you HAVE to use the
  2069. built-in Recycle Bin or some other 3rd party file/directory restoring tool!
  2070.  
  2071. UNDELETE.EXE is also found on the Windows 95 install cd-rom (the original
  2072. release, NOT Win95 B/C OSR2), in the \OTHER\OLDMSDOS directory. It is not
  2073. copied to your C:\Windows\Command directory by Win95's install, so to use it,
  2074. you need to do this manually. Run this command at any DOS prompt:
  2075. COPY D:\OTHER\OLDMSDOS\UNDELETE.EXE C:\WINDOWS\COMMAND
  2076. where D is your cd-rom drive letter and C is your boot drive letter (you need
  2077. to change them if different on your machine).
  2078. When you run:
  2079. UNDELETE /?
  2080. from a DOS prompt, you get this screen:
  2081.  
  2082. "UNDELETE - A delete protection facility
  2083. Copyright (C) 1987-1993 Central Point Software, Inc.
  2084. All rights reserved.
  2085. Restores files previously deleted with the DEL command.
  2086. UNDELETE [[drive:][path]filename] [/DT | /DS | /DOS]
  2087. UNDELETE [/LIST | /ALL | /PURGE[DRIVE] | /STATUS | /LOAD | /UNLOAD
  2088.      /UNLOAD | /S[DRIVE] | /T[DRIVE]-entrys ]]
  2089. /LIST            Lists the deleted files available to be recovered.
  2090. /ALL            Recovers files without prompting for confirmation.
  2091. /DOS            Recovers files listed as deleted by MS-DOS.
  2092. /DT            Recovers files protected by Delete Tracker.
  2093. /DS            Recovers files protected by Delete Sentry.
  2094. /LOAD            Loads Undelete into memory for delete protection.
  2095. /UNLOAD            Unloads Undelete from memory.
  2096. /PURGE[drive]        Purges all files in the Delete Sentry directory.
  2097. /STATUS            Display the protection method in effect for each drive.
  2098. /S[drive]        Enables Delete Sentry method of protection.
  2099. /T[drive][-entrys]  Enables Delete Tracking method of protection.
  2100. UNDELETE, and UNFORMAT Copyright (C) 1987-1993 Central Point Software."
  2101.  
  2102. DO NOT TRY to use the TSR (Terminate and Stay Resident) part of UNDELETE under
  2103. Win9x/ME OS, or you WILL damage the LFNs (Long File Names)! Undelete is only a
  2104. 8.3 DOS short file name format recovering tool!
  2105. Example: if you know the name of the directory you want to recover files into,
  2106. just run:
  2107. UNDELETE C:\YOUR_DIRECTORY_NAME\*.*
  2108. to undelete all files in a given directory (you will be prompted to recover
  2109. each file separately, and a successful undelete operation needs a file
  2110. "sentry", a stored "image" of the given deleted file on the disk, in order to
  2111. restore it).
  2112.  
  2113. NOTE: This doesn't seem to work with files deleted using Explorer, or any
  2114. other 32-bit Windows application (but that may not be true, it's only a
  2115. "trial-and-error" game).
  2116.  
  2117. FYI: Drive Rescue (freeware) is a similar FAT16/FAT32 hard drive data recovery
  2118. tool:
  2119. http://skyscraper.fortunecity.com/amd/887/rescue/
  2120.  
  2121.  
  2122.  
  2123. BOOTUP FLOPPY
  2124.  
  2125.  
  2126.  
  2127. How many times did you need to boot from a startup/bootup floppy disk just
  2128. because your "beloved" Operating System screwed up one way or another? I for
  2129. one am used to doing this quite often. [unfortunately :(] So I added some
  2130. "new features" to the plain startup files (Config.sys and Autoexec.bat), and
  2131. some useful (read *VITAL*) DOS tools to my bootup floppy to make my
  2132. [computing] life a little easier. :)
  2133. This tip applies to ALL MS-DOS users (begining with version 5.00), and to ALL
  2134. MS Windows users (begining with version 3.10), except Windows NT/2000.
  2135. NOTES:
  2136. 1. If you reach the 1.44 MB floppy capacity limit before copying all the files
  2137. listed below onto your bootup floppy, you can select to copy only the files
  2138. you deem necessary, and skip others not so "vital" (like the Dosshell files).
  2139. Or you can copy the rest of these files that didn't fit on your first floppy
  2140. to a SECOND startup floppy, in case you don't have a recordable/rewritable
  2141. cd-rom or another removable drive (Zip, Orb, Jazz, Sparq, Shark, Syquest,
  2142. LS-120 etc) to boot from.
  2143. 2. In the case you do have such a high capacity boot drive, and if your
  2144. motherboard BIOS/CMOS supports booting from a removable/cd-rom, you don't have
  2145. the limited (boot floppy) size problem. Just copy all your files on a cd-rom,
  2146. and label its jewel case as "Boot CD-ROM" (or if using a removable disk, label
  2147. its cartridge). Eventually you can have a full blown (or at least a "bare
  2148. bones") operating system running off a cd-rom/removable, by copying there all
  2149. your OS related directories and files from your boot hard disk. This is very
  2150. useful to access your most important files if you are a Windows 95/98/NT/3.1x
  2151. and/or MS-DOS 5.00/6.xx user, and if your (primary) hard drive has gone
  2152. "south" unexpectedly.
  2153. YOU MUST REMEMBER to stick a self-adhesive paper label on each of these
  2154. floppies, and name them let's say "BOOTUP FLOPPY #1" and "BOOTUP FLOPPY #2"
  2155. respectively.
  2156. From now on you can use the BOOTUP FLOPPY #1 whenever you need to boot from
  2157. something else other than your "temporarily impaired" hard disk.
  2158. This is my bootup floppy Config.sys file, which includes Microsoft's
  2159. upper/expanded memory manager (EMM386.EXE), the CD-ROM driver (VIDE-CDD.SYS)
  2160. and Microsoft's 32-bit disk access driver (IFSHLP.SYS):
  2161. SWITCHES=/F
  2162. DEVICE=A:\HIMEM.SYS /NUMHANDLES=128 /Q
  2163. DEVICE=A:\EMM386.EXE I=C800-EFFF I=B000-B7FF AUTO RAM NOTR
  2164. DOS=HIGH,UMB
  2165. BUFFERS=10,0
  2166. FILES=60
  2167. FCBS=1,0
  2168. STACKS=0,0
  2169. DEVICEHIGH /L:1=A:\VIDE-CDD.SYS /D:MYCDROM
  2170. DEVICEHIGH=A:\IFSHLP.SYS
  2171. SHELL=A:\COMMAND.COM A:\ /E:512 /P
  2172. SET PATH=C:\;C:\DOS;C:\WINDOWS;A:\;
  2173. SET TEMP=C:\TEMP
  2174. SET TMP=C:\TEMP
  2175. SET PROMPT=EMERGENCY FLOPPY BOOTUP!$_$P$G
  2176. SET WINPMT=Type EXIT & Hit Enter 2 return 2 Windows!$_$P$G
  2177. The CD-ROM driver above (VIDE-CDD.SYS), freely distributed by Acer
  2178. Peripherals [176 KB]:
  2179. ftp://ftp.acercm-eu.com/cd-rom/drivers/apicd214.exe
  2180. is compatible with most popular internal IDE/ATAPI compatible cd-rom drives
  2181. out there: Acer, Creative Labs, NEC, Matsushita/Panasonic, Teac, Toshiba
  2182. etc, connected to the standard motherboard IDE controller.
  2183. Note that the PATH line above applies ONLY to typical Windows 95/98 systems
  2184. installed in C:\WINDOWS (change the drive/directory if different on your
  2185. computer).
  2186. MS-DOS 5.00 - 6.22 users need this typical DOS/Windows/WfWG PATH line:
  2187. SET PATH=C:\;C:\DOS;C:\WINDOWS;A:\;
  2188. ATTENTION MS-DOS 5.00 users: You NEED to place ALL the SET lines (listed
  2189. above in my CONFIG.SYS) into your AUTOEXEC.BAT file, because MS-DOS 5.00
  2190. does NOT support this feature!
  2191. And below is my startup floppy Autoexec.bat file, including Microsoft's
  2192. CD-ROM extensions driver (MSCDEX.EXE), Microsoft's floppy/hard/cd-rom disk
  2193. cache (SMARTDRV.EXE) and Microsoft's Mouse driver (MOUSE.COM):
  2194. @ECHO OFF
  2195. LOADHIGH=A:\MSCDEX /D:MYCDROM /M:16 /E
  2196. A:\SMARTDRV 2048 16 A+ B+ C+ D+ E+ F /N
  2197. SET MOUSE=A:\
  2198. LOADHIGH=A:\MOUSE
  2199. SET DIRCMD=/A /O:GEN /P
  2200. SET COPYCMD=/Y
  2201. A:\MODE CON: RATE=32 DELAY=1
  2202. I've also added the files listed below to my startup floppies (I find them
  2203. VITAL for performing routine maintenance and diagnostics tasks, trying to
  2204. determine what might have caused a system lockup):
  2205. - COMMAND.COM (Microsoft DOS COMMAND line interpreter)
  2206. - HIMEM.SYS (Microsoft DOS HIgh/extended MEMory manager)
  2207. - EMM386.EXE (Microsoft DOS Expanded/extended Memory Manager)
  2208. - SYS.COM (Microsoft DOS mode SYStem files transfer tool)
  2209. - ATTRIB.EXE (Microsoft DOS mode modifying file ATTRIButes tool)
  2210. - IFSHLP.SYS (Microsoft Windows 32-bit disk access compatibility driver)
  2211. - MSD.EXE (MicroSoft DOS mode Diagnostics tool):
  2212. ftp://ftp.sac.sk/pub/sac/utildiag/msd301.zip
  2213. - SMARTDRV.EXE (Microsoft DOS mode floppy, hard and cd-rom drive cache
  2214.   driver/tool)
  2215. - MOUSE.COM (Microsoft DOS mode MOUSE driver), or your own DOS Mouse driver:
  2216. http://cutemouse.sourceforge.net/
  2217. - MOUSE.INI (INItialization file needed by MOUSE.COM)
  2218. - VIDE-CDD.SYS (Acer DOS mode "universal" IDE/ATAPI CD-ROM driver):
  2219. ftp://ftp.acercm-eu.com/cd-rom/drivers/apicd214.exe
  2220. - MSCDEX.EXE (MicroSoft DOS mode Compact Disk EXtensions driver)
  2221. - FORMAT.COM (Microsoft DOS mode floppy/hard disk FORMATting tool)
  2222. - FDISK.EXE (Microsoft DOS mode hard disk partitioning tool)
  2223. - MEM.EXE (Microsoft DOS mode extended/upper/conventional MEMory specs
  2224.   display tool)
  2225. - SCANDISK.EXE (Microsoft DOS mode floppy/hard DISK SCANning tool)
  2226. - SCANDISK.INI (INItialization file needed by SCANDISK.exe)
  2227. - EDIT.COM files (Microsoft DOS mode text file EDITor):
  2228. 1. MS-DOS 5.00 - 6.22 EDIT.COM files:
  2229.     - EDIT.COM
  2230.     - EDIT.HLP
  2231.     - QBASIC.EXE
  2232.     - QBASIC.HLP
  2233.     - QBASIC.INI
  2234. 2. MS-DOS 7.00 - 7.10 [a.k.a. MS Windows 9x] EDIT.COM files:
  2235.     - EDIT.COM
  2236.     - EDIT.HLP
  2237.     - EDIT.INI
  2238. - DOSShell files:
  2239.   ftp://ftp.microsoft.com/softlib/mslfiles/SUP622.EXE
  2240.   (Microsoft DOS mode "File Manager", almost as good at performing routine
  2241.   file chores as its Windows "cousin"):
  2242.     - DOSSHELL.EXE
  2243.     - DOSSHELL.GRB
  2244.     - DOSSHELL.HLP
  2245.     - DOSSHELL.INI
  2246.     - DOSSHELL.VID
  2247. CRUCIAL: ALWAYS BACKUP YOUR FILES BEFORE MODIFYING THEM!
  2248. NOTE: See these included topics for more details and guidelines:
  2249. - "OUTSMART SMARTDRIVE" in MYTIPS31.TXT;
  2250. - "CD-ROM DRIVERS 4 DOS" in MYTIPS31.TXT;
  2251. - "SET TEMP" in MYTIPS31.TXT;
  2252. - "LASTDRIVE" in MYTIPS31.TXT;
  2253. - "COMMAND.COM" in MYTIPS31.TXT;
  2254. - Details on: COMMAND.COM, FDISK.EXE, FORMAT.COM, HIMEM.SYS, EMM386.EXE in
  2255. SECRETS.TXT;
  2256. - Details on: HIMEM.SYS, EMM386.EXE, SMARTDRV.EXE, MSCDEX.EXE, MOUSE.COM in
  2257. MEMORY.TXT;
  2258. - "MS DOSSHELL Tips" in DOSTIPS.TXT.
  2259. FYI: Boot disks on the Internet: see "FREE WinDOwS CD/DVD DRIVERS + TOOLS"
  2260. in SOFTWARE.TXT (included).
  2261.  
  2262.  
  2263.  
  2264. COMMAND.COM
  2265.  
  2266.  
  2267.  
  2268. For y'all DOS fans out there I decided to list all MS-DOS 6.xx Command.com
  2269. parameters, including the ones Microsoft "forgot" to tell us about. :)
  2270. When you run:
  2271. COMMAND /?
  2272. from any MS-DOS prompt (MS-DOS 6.00 - 6.22 ONLY), you get this help screen:
  2273.  
  2274. "Starts a new copy of the Windows Command Interpreter:
  2275. COMMAND [[drive:]path] [device] [/E:nnnnn] [/L:nnnn] [/U:nnn] [/P] [/MSG]
  2276.     [/LOW] [/Y [/[C|K] command]]
  2277. [drive:]path    Specifies the directory containing COMMAND.COM.
  2278. device        Specifies the device to use for command input and output.
  2279. /E:nnnnn    Sets the initial environment size to nnnnn bytes.
  2280.         (nnnnn should be between 256 and 32,768).
  2281. /P        Makes the new Command Interpreter permanent (can't exit).
  2282. /MSG        Stores all error messages in memory (requires /P as well).
  2283. /Y        Steps through the batch program specified by /C or /K.
  2284. /C command    Executes the specified command and returns.
  2285. /K command    Executes the specified command and continues running."
  2286.  
  2287. And the help display stops here. But now comes the nice part. :)
  2288. The Command.com switches below are NOT DOCUMENTED (so I added them to this
  2289. list):
  2290.  
  2291. /D        Prevents the execution of AUTOEXEC.BAT at bootup [MS-DOS 5]
  2292.         or disables floppy "Fail" response if using /F [MS-DOS 6/7].
  2293. /F        Removes the floppy disk "Abort, Retry, Fail" message.
  2294.         If the floppy disk is not ready automatically goes to "Fail".
  2295.  
  2296. IMPORTANT: To become familiar with COMMAND.COM's documented command line
  2297. switches:
  2298. 1. Windows 9x users: read the text file CONFIG.TXT (the "SHELL" topic),
  2299. located in your Windows directory.
  2300. 2. ALL Windows 9x/3.xx and DOS users: run:
  2301. COMMAND /?
  2302. at any DOS prompt to display the Command.com help screen above.
  2303. 2. MS-DOS 6.xx users: run this command from any DOS prompt:
  2304. HELP COMMAND
  2305. and read the topic.
  2306. The following Command.com parameters can be included on the Config.sys SHELL
  2307. line (makes the command interpreter permanent until the next reboot): /E, /F,
  2308. /MSG and /P.
  2309. Example of MS-DOS 6.xx Config.sys SHELL line:
  2310. SHELL=C:\COMMAND.COM C:\ /E:512 /F /P
  2311. All switches can be run from any DOS prompt command line (except /P and /MSG
  2312. if you already mentioned them on the SHELL line in your Config.sys).
  2313. NOTE: Read "COMMAND.COM HIDDEN PARAMETERS" in SECRETS.TXT (included) for
  2314. complete details on all COMMAND.COM undocumented switches.
  2315.  
  2316.  
  2317.  
  2318. OUTSMART SMARTDRIVE [*]
  2319.  
  2320.  
  2321.  
  2322. Even now, in the "modern" Windows 9x/3.1x days, it takes a long time to load
  2323. the Windows GUI, with all its (too) many virtual/protected mode drivers.
  2324. As you well know, Windows/WfWG 3.1x 16-bit Graphical User Interface (GUI) is
  2325. still layered (loaded) on top of ol' MS-DOS command line based Operating
  2326. System (16-bit OS). :-(
  2327. So I found the solution to decrease Win31's loading time. [after all we DO
  2328. want more speeed! :)]
  2329. I simply load SMARTDRV in my Autoexec.bat, the MS-DOS mode disk cache.
  2330. SMARTDRV.EXE v5.0x is provided with MS-DOS 6.xx and with Win9x, found in your
  2331. Windows 9x directory, or in your DOS directory if using MS-DOS 6.xx.
  2332. But the proper way to do this, AND saving memory the same time can be tricky!
  2333. You can customize the SMARTDRV line to your needs, to cache all your floppy,
  2334. hard, AND cd-rom/dvd drives in your system; though you need to include a line
  2335. for MSCDEX in your Autoexec.bat BEFORE the SMARTDRV line, AND also load your
  2336. DOS mode supplied cd-rom/dvd driver from your Config.sys, if you want to have
  2337. your cd-rom/dvd available in native MS-DOS mode, AND to have it cached by
  2338. Smartdrv. Example:
  2339. SMARTDRV 2048 16 A+ C+ D /N /Q
  2340. where A is the floppy drive, C is the hard drive, and D is the cd-rom/dvd
  2341. drive. Notice the absence of a plus sign after D, because cd-rom/dvd drives
  2342. are read-only. :)
  2343. I prefer the Acer Peripherals "universal" CD-ROM/DVD driver for DOS
  2344. [VIDE-CDD.SYS v2.14, 176 KB, free]:
  2345. ftp://ftp.acercm-eu.com/cd-rom/drivers/apicd214.exe
  2346. because it is compatible with most internal IDE/ATAPI cd-roms/dvds of ANY
  2347. speed, and takes only 5 KB of upper memory.
  2348. NOTE: See "CD-ROM DRIVERS 4 DOS" in MYTIPS31.TXT (this file) for complete
  2349. details.
  2350. Alternatively you can load Smartdrv from Config.sys using INSTALLHIGH, AHEAD
  2351. OF ALL OTHER INSTALL/INSTALLHIGH lines, if any (example):
  2352. INSTALLHIGH=C:\DOS\SMARTDRV.EXE 2048 16 A+ C+ D /N /Q
  2353. to cache your other devices/TSRs that eventually load later in the sequence
  2354. from your Config.sys, thus speeding up disk access.
  2355. In this case you need to specify the FULL path and the file extension (.EXE).
  2356. I suggest using the /N parameter with CAUTION! It allows the return to the
  2357. MS-DOS command prompt BEFORE writing the entire data back to disk (before the
  2358. completion of the previous DOS command), which may result in data loss,
  2359. especially if a sudden power surge occurs!
  2360. The /Q switch (Quiet) tells Smartdrv not to display its status info while
  2361. loading.
  2362. The first number (in this case 2048) sets the DOS mode cache size (also called
  2363. "InitCacheSize") to 2048 KB, and the second number (16), called
  2364. "WinCacheSize", "shrinks" the cache size under Windows 3.1x/9x to 16 KB to
  2365. preserve memory.
  2366. The minimum "WinCacheSize" valid value is said to be 128 KB (per Microsoft
  2367. guidelines), but I found out that 16 KB is THE minimum accepted, if using
  2368. SMARTDRV.EXE version 5.00 (included with MS-DOS 6.xx) up to 5.02 (bundled with
  2369. Windows 9x). Windows 9x loads its own 32-bit disk cache, and if properly
  2370. configured doesn't use Smartdrv anyway.
  2371. In the above example, the Smartdrv extended memory size (if Microsoft
  2372. EMM386.EXE or a similar 3rd party memory manager is loaded in your Config.sys,
  2373. and set to provide extended/expanded/upper memory, with the RAM switch) is
  2374. 2048 KB (2 MB). Also, the default Smartdrv upper memory cache buffer is 16 KB.
  2375. [kinda huge, huh...]
  2376. But you CAN decrease Smartdrv's upper memory read-ahead BUFFER size by using
  2377. the /B:xxxxx switch. Example:
  2378. SMARTDRV 2048 16 A+ C+ D /N /Q /B:8192
  2379. which takes only 8 KB (8192 Bytes) of upper memory, not 16 KB as in the
  2380. previous example (with no /B switch).
  2381. Another Smartdrv parameter you may want to adjust is the ELEMENT size (the
  2382. /E:xxxxx switch). The default Smartdrv element size is 16384 Bytes (16 KB).
  2383. Meaning that Smartdrv moves/copies a 16 KB "chunk" of data at a time. This may
  2384. be enough for routine MS-DOS mode operations (copying/moving files around),
  2385. but if you do frequent DOS disk maintenance tasks involving huge files, a 16
  2386. KB element might not be good enough. You can increase the element size to
  2387. 32768 Bytes (32 KB).
  2388. NOTE: SmartDrive's BUFFER and ELEMENT sizes can be adjusted ONLY in 8 KB (8192
  2389. Bytes) increments, from a minimum value of 8 KB up to a maximum of 64 KB
  2390. (65536 Bytes), and the ELEMENT size MUST be a multiple or at least equal to
  2391. the BUFFER size!
  2392. And this is an example of fully optimized Autoexec.bat Smartdrv command:
  2393. SMARTDRV 2048 16 A+ C+ D /N /Q /B:8192 /E:32768
  2394. Now you're talking! This particular Smartdrv line takes only 22 KB of upper
  2395. memory, and only 2 MB of extended memory, while improving disk performance!
  2396. To determine if your disk performance has REALLY increased after all this
  2397. tweaking, keep in mind that SMARTDRV's cache "hit rate" must stay around
  2398. 80-85% (ideal value), or at least 70%. To do this, start by running:
  2399. SMARTDRV /S
  2400. from the native MS-DOS prompt. You'll see a screen similar to this:
  2401. "Microsoft SMARTDrive Disk Cache version 5.02
  2402. Copyright 1991,1993 Microsoft Corp.
  2403.  
  2404. Room for 256 elements of 8,192 bytes each
  2405. There have been 2,150 cache hits
  2406.     and 350 cache misses
  2407.  
  2408. Cache size: 2,097,152 bytes
  2409. Cache size while running Windows: 16,384 bytes
  2410.  
  2411.         Disk Caching Status
  2412. drive      read cache    write cache    buffering
  2413. -------------------------------------------------
  2414.   A:      yes        yes        no
  2415.   C:      yes        yes        no
  2416.   D:      yes        no        no
  2417. Write behind data will not be committed before command prompt returns."
  2418. The Smartdrv settings shown here are the ones used in the example above.
  2419. Now calculate Smartdrv's effective cache "hit rate" using this formula:
  2420. CH : (CH + CM) x 100 = HR%
  2421. where:
  2422. - CH = Cache Hits
  2423. - CM = Cache Misses
  2424. - HR% = Hit Rate percentage
  2425. By substituting these parameters with the real values above, you get:
  2426. 2150 : (2150 + 350) x 100 = 86%
  2427. It is best to keep Smartdrv's hit rate between 70 and 85%.
  2428. If your hit rate is less than 70%, the cache isn't very effective, and you
  2429. should increase the "InitCacheSize" number.
  2430. Beyond 85% typically means that you allocated SMARTDRV more RAM than it really
  2431. needs. In this case, decrease the "InitCacheSize" number until your "hit rate"
  2432. falls around 80-85%, and let other "memory hungry" programs use the extra RAM
  2433. (i.e. MS Windows), especially if your computer has only 32 MB or less of
  2434. installed memory.
  2435. If you prefer to determine your disk cache hit rate "the easy way" [:)],
  2436. download one of these DOS utilities:
  2437. - SysChk diagnostics + benchmark tool (no time limit shareware):
  2438. http://www.syschk.com/beta.htm
  2439. - Cache Control (CC.EXE) tool, part of the InkUtils pack (freeware):
  2440. http://www.inkland.f9.co.uk/inkutils/
  2441. To view all SMARTDRV available parameters from any DOS prompt, run:
  2442. SMARTDRV /?
  2443. You'll get this screen:
  2444.  
  2445. "Installs and configures the SMARTDrive disk-caching utility.
  2446.  
  2447. SMARTDRV [/X] [[drive[+|-]]...] [/U] [/C | /R] [/F | /N] [/L] [/V | /Q | /S]
  2448.      [InitCacheSize [WinCacheSize]] [/E:ElementSize] [/B:BufferSize]
  2449.  
  2450. /X        Disables write-behind caching for all drives.
  2451. drive        Sets caching options on specific drive(s). The specified
  2452.         drive(s) will have write-caching disabled unless you add +.
  2453. +        Enables write-behind caching for the specified drive.
  2454. -        Disables all caching for the specified drive.
  2455. /U        Do not load CD-ROM caching module.
  2456. /C        Writes all information currently in write-cache to hard disk.
  2457. /R        Clears the cache and restarts SMARTDrive.
  2458. /F        Writes cached data before command prompt returns (default).
  2459. /N        Doesn't write cached data before command prompt returns.
  2460. /L        Prevents SMARTDrive from loading itself into upper memory.
  2461. /V        Displays SMARTDrive status messages when loading.
  2462. /Q        Does not display status information.
  2463. /S        Displays additional information about SMARTDrive's status.
  2464. InitCacheSize    Specifies XMS memory (KB) for the cache.
  2465. WinCacheSize    Specifies XMS memory (KB) for the cache with Windows.
  2466. /E:ElementSize    Specifies how many bytes of information to move at one time.
  2467. /B:BufferSize    Specifies the size of the read-ahead buffer."
  2468.  
  2469. Depending on how much memory (RAM) is installed in your system, you can
  2470. further tweak the Smartdrv size to cache more (and larger) files. My Pentium
  2471. II machine has 128 MB SDRAM, so I set Smartdrv's "InitCacheSize" to 6144 KB (6
  2472. MB), and the "WinCacheSize" to 16 KB (minimum allowed). This is my
  2473. Autoexec.bat SMARTDRV line:
  2474. SMARTDRV 6144 16 A+ C+ D /N /Q /B:8192 /E:32768
  2475. There is no need to load Smartdrv with "LOADHIGH" ("LH" for short) in
  2476. Autoexec.bat, since it is "smart" enough to find the optimum memory
  2477. configuration upon loading, provided you have EMM386.EXE (or a similar upper
  2478. memory manager) loaded in your Config.sys.
  2479. These are my OWN recommended optimum Smartdrv "InitCacheSize" values based on
  2480. your installed RAM amount:
  2481. * 4 MB: [shame on you if you "torture" yourself watching your PC "crawl" with
  2482. this "much" memory!... :-)] => SMARTDRV size = 128 KB or none!;
  2483. * 8 MB: [still waiting for Windows to load, huh... :-)] => SMARTDRV size =
  2484. 256 - 512 KB;
  2485. * 16 MB: [c'mon, you can do better than THAT!] => SMARTDRV size = 1024 - 2048
  2486. KB;
  2487. * 32 MB: [decent, but still not enough by today's standards. But who am I to
  2488. judge your "boring, business-only" desktop PC?... :-)] => SMARTDRV size =
  2489. 2048 - 4096 KB;
  2490. * 40 MB: [a little better, you must a beginner "PC gamer"... :-)] => SMARTDRV
  2491. size = 4096 - 6144 KB;
  2492. * 64 MB: [now you're talking! Optimum for running Win95/98... But not for
  2493. long...] => SMARTDRV size = 6144 - 8192 KB;
  2494. * 128 MB: [smart guy, you're slightly ahead of today's requirements. You must
  2495. be an WinNT user!] => SMARTDRV size = 8192 KB (beyond 8192 KB Smartdrv's
  2496. efficiency doesn't increase by much anyway);
  2497. * 256 MB: [your PC must be soaring through Win9x/NT or ANY OS for that matter.
  2498. I bet you have a dual Pentium II/III system!] => SMARTDRV size = whatever you
  2499. want it to be!;
  2500. * 512 MB: [you're a darn lucky dog!... Deep into the CAD/DTP/professional 3D
  2501. animation/graphics/video editing business, I presume... But I pity you, that
  2502. means you probably don't OWN this mean machine... :-)] => SMARTDRV size = NO
  2503. limits (maximum allowed Smartdrv size is 64 MB = 65536 KB)!
  2504. As a rule of thumb try to keep Smartdrv's "InitCacheSize" within 1/6 of your
  2505. installed RAM, and at 1/8 if you have less than 32 MB.
  2506. REQUIRED ADDENDUM:
  2507. By loading ONLY the HIMEM.SYS device at startup (which can be further tweaked
  2508. in your Config.sys file), your machine provides ONLY EXTENDED memory available
  2509. to programs/TSRs, NOT upper or/and expanded!
  2510. To enable the use of UMBs (Upper Memory Blocks) and the Upper Memory Area
  2511. (UMA) for loading devices/drivers/TSRs high, and/or EXPANDED memory (still
  2512. needed by some older DOS programs), you need to add/tweak a Config.sys line
  2513. for EMM386.EXE, the default Microsoft upper/expanded memory manager (comes
  2514. with MS-DOS 6.xx and Win9x).
  2515. Below are EMM386.EXE alternative configurations to properly load Smartdrv in
  2516. upper AND extended memory (and AVOID the use of CONVENTIONAL memory), you can
  2517. further tweak to match your system needs:
  2518. 1. Example of EMM386 line in Config.sys to provide ONLY EXTENDED memory AND
  2519. UMBs (Upper Memory Blocks) for loading devices/TSRs high:
  2520. DEVICE=C:\DOS\EMM386.EXE NOEMS I=B000-B7FF D=256
  2521. 2. Example of EMM386 line in Config.sys to provide extended, EXPANDED memory
  2522. and UMBs:
  2523. DEVICE=C:\DOS\EMM386.EXE RAM I=B000-B7FF D=256 AUTO
  2524. The expanded memory version above takes an extra 64 KB of UMA to load
  2525. EMM386's Page Frame. The "AUTO" switch yields the use of expanded or extended
  2526. memory to programs, as needed.
  2527. Windows 95/98 users: open the MSDOSDRV.TXT file with Notepad (located in your
  2528. Windows directory) to see all available EMM386.EXE parameters.
  2529. MS-DOS 6.xx users: run:
  2530. HELP EMM386.EXE
  2531. from any DOS prompt, to see all available EMM386.EXE switches.
  2532. NOTE: Read also the related EMM386.EXE and SMARTDRV.EXE topics in MEMORY.TXT
  2533. (included) for more details.
  2534. Have a "smart" computing day!
  2535. UPDATE:
  2536. Check out these Smartdrv related pages:
  2537. - The "SMARTDrive and 32-Bit Disk Access" MSKB article:
  2538. http://support.microsoft.com/support/kb/articles/q83/3/25.asp
  2539. - My UMBPCI.SYS page, to learn how to use a better upper memory manager and
  2540. specific Smartdrv settings using UMBPCI.SYS:
  2541. http://members.aol.com/axcel216/umb.htm
  2542. - Driving for Performance: SMARTDrive, Part 2:
  2543. http://www.tcs.org/ioport/read9711.htm
  2544.  
  2545.  
  2546.  
  2547. DOUBLE BUFFER [*]
  2548.  
  2549.  
  2550.  
  2551. If you have any:
  2552. - any SCSI hard disks;
  2553. - any older ESDI/IDE/ATA drives;
  2554. - any newer hard EIDE/IDE drives larger than 8 GB,
  2555. you might need to load Smartdrv's DOUBLE_BUFFER device driver in your
  2556. CONFIG.SYS file, to allow proper operation under the SCSI/ESDI standards.
  2557. Double Buffering/Smartdrv advantages:
  2558. A. If you don't use any DOS programs, you can speed up the loading of the DOS
  2559. portion of your Windows/WfWG GUI.
  2560. B. If you DO use ANY MS-DOS based programs/games, you can speed up a bit (in
  2561. some cases) ALL disk I/O (Input/Output) reads and writes in native MS-DOS
  2562. mode.
  2563. To do this:
  2564. Add a SMARTDRV line to your Config.sys file, after the command that loads
  2565. HIMEM.SYS:
  2566. DEVICE=C:\DOS\SMARTDRV.EXE /DOUBLE_BUFFER
  2567. Note that this portion of the Smartdrv module canNOT load in upper memory!
  2568. This CONFIG.SYS line MUST be present BEFORE ANY other DEVICE(HIGH) or
  2569. INSTALL(HIGH) commands!
  2570. The double buffer module takes under 3 KB of low (conventional) memory.
  2571. Conditions to meet for this to work properly:
  2572. 1. You need an adequate BUFFERS line in your Config.sys. Example:
  2573. BUFFERS=12,6
  2574. The second number on this BUFFERS line provides double buffering
  2575. capabilities.
  2576. The BUFFERS load automatically in the High Memory Area (HMA), if HMA is
  2577. properly enabled by these Config.sys lines:
  2578. DOS=HIGH,UMB
  2579. DEVICE=C:\DOS\HIMEM.SYS
  2580. NOTE: To learn more about DOS memory layout and how to "squeeze" the last Byte
  2581. out of your conventional/upper memory in DOS and Windows, read MEMORY.TXT,
  2582. REGIONS.TXT and EMM386.TXT (included).
  2583. 2. You also need a SMARTDRV line in your Autoexec.bat, to activate the double
  2584. buffering feature. Example:
  2585. SMARTDRV 2048 16 A+ C+ D /N
  2586. NOTE: For Smartdrv complete details and guidelines, read "OUTSMART SMARTDRIVE"
  2587. in MYTIPS31.TXT (this file).
  2588. Now that you're done, reboot your system, and then run this command:
  2589. SMARTDRV /S
  2590. from any DOS prompt, to see which drive(s) on your system have double
  2591. buffering enabled (only if needed).
  2592. TIP: To have SMARTDRV load in upper memory (and save some precious
  2593. conventional memory), you need a memory manager loaded in your Config.sys
  2594. (like EMM386.EXE, provided by Microsoft with MS-DOS 6.xx).
  2595. Example of EMM386.EXE Config.sys line (with expanded memory enabled by the
  2596. "RAM" switch):
  2597. DEVICE=C:\DOS\EMM386.EXE I=B000-B7FF D=256 RAM AUTO
  2598. To learn how to use ALL EMM386.EXE parameters, run this command from any
  2599. DOS prompt:
  2600. HELP EMM386.EXE
  2601. Then read MEMORY.TXT (included), to learn how to maximize + optimize your
  2602. DOS/Windows memory resources using EMM386.EXE.
  2603.  
  2604.  
  2605.  
  2606. SHELL ENVIRONMENT SIZE [*]
  2607.  
  2608.  
  2609.  
  2610. This posting answers my good friend's question below, and appears here to
  2611. benefit ALL WinDOwS users.
  2612. NOTE: This topic applies also to MS-DOS 6.xx and Windows/WfWG 3.1x systems,
  2613. with these exceptions: the /L:xxxx and /U:xxx COMMAND.COM parameters, and the
  2614. "winbootdir" environment string apply ONLY to Win95/98 [a.k.a. MS-DOS 7.xx]
  2615. OSes!
  2616.  
  2617. Q [The Captain]:
  2618.  
  2619. "What are your recommendations for a Win95 OSR 2.5 system with 32 MB RAM for
  2620. a Config.sys "shell=" line parameters? What about a 16 MB system?
  2621. I am currently using "SHELL=C:\WINDOWS\COMMAND.COM /P /E:1024".
  2622. I have no real mode drivers loading, it's all 32-bit."
  2623.  
  2624. A [axcel216@aol.com]:
  2625.  
  2626. "The SHELL Command.com environment parameter length, set by the /E:xxxx switch
  2627. (used in Config.sys), doesn't depend on your installed memory (RAM), but on
  2628. how MANY and how LONG are your SET statements in your Config.sys and/or
  2629. Autoexec.bat files, including the PATH and the PROMPT lines.
  2630. A safe bet is to set the Config.sys SHELL line to read:
  2631. SHELL=C:\COMMAND.COM C:\ /E:1024 /L:128 /U:128 /P
  2632. Change the path above if your Command.com copy is located somewhere else.
  2633. You may want to increase the environment size, let's say to /E:1536 if your
  2634. PATH line is pretty long, and/or if you have a bunch of SET lines in your
  2635. startup files, like I do.
  2636. For details on the /L and /U switches (and for all Win95/98 Command.com
  2637. available parameters), run:
  2638. COMMAND /?
  2639. at any DOS prompt.
  2640. If you don't have a SHELL line in your Config.sys, Win95/98 automatically
  2641. starts the GUI at the end of processing the startup files (Io.sys, Msdos.sys,
  2642. Config.sys and Autoexec.bat), even if you have the "BootGUI=0" line present
  2643. in your Msdos.sys file, the [Options] section. At least that's what happens
  2644. on my machine, and I noticed this to be valid with both Win95 OSR1 and Win95B
  2645. OSR2 releases.
  2646. There is a good DOS diagnostics tool called SysChk (no nag shareware):
  2647. http://www.syschk.com/
  2648. which reports the total, used and free environment memory amounts in bytes
  2649. (among many other details about your system), when you select option #7 from
  2650. SysChk's main screen menu. If your free environment size is below 100-200
  2651. bytes, you might need to increase it, to have at least 400-500 bytes free,
  2652. because Windows 3.1x/95/98 and their DOS sessions also add to the length of
  2653. the environment size (like the "windir" line, present only with Windows/WfWG
  2654. 3.1x/95/98 started). Also, Win9x adds the "winbootdir" string to the
  2655. environment upon bootup, reading the Msdos.sys file, the [Paths] section,
  2656. which contains the "WinBootDir=C:\WINDOWS" line.
  2657. To see all the SET lines/strings displayed on your screen, just run:
  2658. SET | MORE
  2659. from any DOS prompt. Adding "| MORE" to the SET command, allows viewing all
  2660. SET lines one screen at a time, and you can press a key to move to the next
  2661. screen, that is if all your SET lines don't fit into the default DOS screen
  2662. of 25 lines.
  2663. Run SysChk from a Windows DOS prompt box, and press 7, which displays all
  2664. environment variables/strings and sizes (a lot more useful details compared
  2665. to using the plain "SET | MORE" command).
  2666. Also, when you start a DOS session in Windows 95/98, the Command environment
  2667. size defaults to /E:2048 /L:1024 /U:255 (maximum sizes allowed by the OS, in
  2668. order to accomodate all your SET/environment strings/lines). This loads a
  2669. huge COMMAND module into memory, usually too big for your needs. But you can
  2670. restrict/customize the environment size in a Windows DOS session by starting
  2671. it from a custom PIF file (MS-DOS application shortcut).
  2672. All you have to do is type something like:
  2673. COMMAND.COM /E:1024 /L:128 /U:128 /P
  2674. in your PIF file's "Cmd line" dialog box, by modifying the "MS-DOS Prompt"
  2675. item already present in your Start Menu (Win95/98) or in the Main Program
  2676. Group (Win/WfWG 3.1x), or by creating a new one.
  2677. In Windows/WfWG 3.1x you need to start PIFEDIT.EXE located in your Windows
  2678. directory to modify/create a PIF executable (Program Information File)."
  2679.  
  2680. UPDATE:
  2681. "To determine exactly the proper size for your environment, open a DOS session
  2682. under the Windows GUI, type this line, and hit Enter:
  2683.  
  2684. SET > C:\HOWMUCH.TXT
  2685.  
  2686. This plain text file is exactly the same size as your environment. You can
  2687. open HOWMUCH.TXT (the name is of no importance) using Notepad in Windows or
  2688. EDIT.COM in DOS to see what strings your environment currently contains.
  2689. Note that the environment size is different in a Windows DOS box from the
  2690. native MS-DOS prompt, because Windows adds the "windir=C:\WINDOWS" variable to
  2691. the SET list."
  2692. [Thank you Early Bird (morning_person@yahoo.com)!]
  2693.  
  2694.  
  2695.  
  2696. CD-ROM DRIVERS 4 DOS [UPDATED 3-3-1998]
  2697.  
  2698.  
  2699.  
  2700. This topic applies to ALL owners of (E)IDE/ATAPI internal
  2701. CD-ROM/CD-R(W)/DVD-ROM/DVD-R(W)/DVD-RAM drives using MS Windows 9x/ME/3.1x
  2702. and/or MS-DOS 6.xx.
  2703. My 8x speed internal IDE ATAPI CD-ROM drive (Turtle Beach NEC IDE 8000, 256 KB
  2704. buffer, 145 msec), loads a smaller DOS device driver (Acer's IDE ATAPI CD-ROM
  2705. device driver VIDE-CDD.SYS) in upper memory (5 KB), compared to my ol' 2x
  2706. speed Creative Labs/Matsushita OMNI (proprietary 8-bit interface) CD-ROM
  2707. drive, using Creative Labs' proprietary SBCD.SYS CD-ROM driver, which was
  2708. taking 13 KB of upper RAM (or my newer NEC/Turtle Beach ATAPI CD-ROM driver
  2709. that was occupying 22 KB of upper memory).
  2710. Download Acer "Universal" CD-ROM/DVD driver for DOS [VIDE-CDD.SYS v2.14, 176
  2711. KB, free]:
  2712. ftp://ftp.acercm-eu.com/cd-rom/drivers/apicd214.exe
  2713. Acer CD-ROM/DVD drivers for DOS:
  2714. http://www.acercm.com.tw/global/service/cdr/drivers2.htm#device
  2715. Apicd214.exe is a self-extractive zip which contains the VIDE-CDD.SYS cd-rom
  2716. driver version 2.14 for MS-DOS, designed for Acer internal IDE/ATAPI CD-ROM
  2717. and DVD drives. To my knowledge, VIDE-CDD.SYS works GREAT with ANY internal
  2718. IDE 100% ATAPI compliant CD-ROM/DVD drive of ANY speed, that uses the default
  2719. 16-bit IDE, or 32-bit EIDE motherboard connector (most all Pentium, Pentium
  2720. Pro and Pentium II/III/IV motherboards provide the dual EIDE PCI interface,
  2721. for all IDE, EIDE or/and ATAPI drives in your system, including CD-ROM/DVD
  2722. drives).
  2723. Also, one of the most compatible (read "Universal") IDE/ATAPI CD-ROM DOS mode
  2724. drivers I have found is made by Teac. It is designed to work with Teac
  2725. IDE/ATAPI internal CD-ROMs, but I discovered it does a great job with my
  2726. Turtle Beach NEC 8x CD-ROM drive. Download TEAC_CDI.SYS v1.27Q [37 KB, free]:
  2727. http://www.teac.com/DSPD/TechSupport/Drivers/atapicd.exe
  2728. Teac CD-ROM/DVD drivers for DOS:
  2729. http://www.teac.com/DSPD/TechSupport/Drivers/dtide_d.htm
  2730. TEAC_CDI.SYS version 1.27Q works with almost ANY IDE/ATAPI CD-ROM/DVD of ANY
  2731. speed! Takes only 9-13 KB of upper DOS memory on my machine when loaded with
  2732. DEVICEHIGH in Config.sys.
  2733.  
  2734. ADDENDUM:
  2735. If you have an IDE/ATAPI cd-rom drive connected to a Sound Blaster (SB) card
  2736. interface (the IDE interface on some Creative Labs SB cards, like the SB AWE32
  2737. PnP, or SB AWE64 PnP), you may NOT be able to use the DOS drivers mentioned
  2738. above, because the SB IDE interface (controller) uses a different interrupt
  2739. and hex base address.
  2740. Example: the standard secondary (E)IDE controller on the motherboard uses
  2741. interrupt 15, and base address 170h (hex notation). Sound Blaster IDE
  2742. interface uses by default interrupt (IRQ) 5 (same as the sound card chip),
  2743. and base address (BA) 220h.
  2744. Also, if you have an SB card featuring the older Matsushita/Panasonic
  2745. proprietary 8-bit cd-rom interface (like the Sound Blaster 16 CD/16 ASP, NOT
  2746. PnP), you canNOT use the cd-rom drivers listed here. In this case you will
  2747. have to use the driver(s) provided by Creative Labs (bundled with your sound
  2748. card, or cd-rom drive), usually called SBCD.SYS (which takes 13KB of memory).
  2749. The Panasonic/Matsushita cd-rom connector uses (to my knowledge) interrupt 5
  2750. and base address 220h, and cannot be changed.
  2751. The standard (E)IDE motherboard controller interface in most Pentium (and
  2752. above) systems uses the following Interrupt ReQuest lines (IRQ) and hex Base
  2753. Addresses (BA):
  2754. - Primary Master & Slave: IRQ = 14; BA = 1F0h (port 1);
  2755. - Secondary Master & Slave: IRQ = 15; BA = 170h (port 2).
  2756. Alternative IRQs and BAs used by non-standard (supplemental/add-on) (E)IDE
  2757. controllers:
  2758. - Tertiary Master & Slave: IRQ = 12; BA = 1E8h (port 3);
  2759. - Quaternary Master & Slave: IRQ = 10; BA = 168h (port 4).
  2760.  
  2761. NOTES:
  2762. * See these pages for detailed info on ATAPI/IDE cd-rom drives:
  2763. - Turtle Beach Knowledge Base:
  2764. http://www.voyetra-turtle-beach.com/site/kb_ftp/635.asp
  2765. - Acer CD-ROM FAQ:
  2766. http://www.acercm.com/support/cdrom_faq.html
  2767. * All the above standard hardware settings are supported by both VIDE-CDD.SYS
  2768. and TEAC_CDI.SYS DOS drivers.
  2769. * To my knowledge the following internal IDE/ATAPI cd-roms/dvds work with
  2770. VIDE-CDD.SYS and/or TEAC_CDI.SYS, ONLY IF connected to the standard IDE/EIDE
  2771. motherboard controller:
  2772. - most Acer and Aopen IDE cd-roms;
  2773. - some Creative Labs IDE cd-roms (NOT OMNI/Matsushita proprietary);
  2774. - some Matsushita/Panasonic IDE cd-roms (if NOT connected to the
  2775. sound card IDE or proprietary controller);
  2776. - all NEC IDE cd-roms;
  2777. - all Teac IDE cd-roms;
  2778. - all Turtle Beach IDE cd-roms;
  2779. - most Toshiba IDE cd-roms;
  2780. - most Pioneer IDE dvd-roms;
  2781. - all Imation IDE cd-roms/cd-rs/cd-rws;
  2782. - some Memorex IDE cd-roms/cd-rs/cd-rws;
  2783. - some Mitsumi IDE cd-roms [Thank you Roberto (robloz@iol.it)!];
  2784. - some Waitec IDE cd-roms/cd-rs/cd-rws [Thank you Roberto (robloz@iol.it)!].
  2785. Please send me e-mail at axcel216@aol.com if you have knowledge of any other
  2786. internal (E)IDE/ATAPI CDs/DVDs that DO or DO NOT work with VIDE-CDD.SYS and/or
  2787. TEAC_CDI.SYS.
  2788.  
  2789. UPDATES:
  2790. 1. Older proprietary IDE Matsushita CD-ROM drives (1x-2x speed) manufactured
  2791. around 1993 and earlier, and sold under the brand names of Creative Labs, JVC,
  2792. Panasonic, Plextor and Reveal do NOT work with the newer CD standards using
  2793. more than 640 MB (> 63 minutes audio). This includes 650, 700, 740 and 800 MB
  2794. CDs/CD-Rs/CD-RWs. An example is Activision's MechWarrior 2 Mercenaries CD-ROM
  2795. game for Windows 9x/ME.
  2796. 2. Most Pioneer internal (E)IDE/ATAPI CD-ROM drives do NOT work with Acer or
  2797. Teac drivers above. Pioneer drive owners need to download:
  2798. - ATAPI108.EXE for 4-24x speed CD drives [29 KB, free]:
  2799. http://www.pioneerelectronics.com/Pioneer/Files/atapi108.exe
  2800. - ATAPI307.EXE for 24x speed and faster CD drives [86 KB, free]:
  2801. http://www.pioneerelectronics.com/Pioneer/Files/atapi307.exe
  2802. 3. Certain Panasonic/Matsushita (Creative Labs) CD-ROMs do NOT support the
  2803. Acer or Teac IDE/ATAPI drivers, especially if connected to a Creative Labs
  2804. Sound Blaster (MKE/Panasonic) proprietary (non-standard) IDE controller. An
  2805. example is the Creative Panasonic CD drive CR563.
  2806. [Thank you Michael (mike.morley@zetnet.co.uk)!]
  2807. 4. This update courtesy of The Captain:
  2808. "TEAC_CDI.SYS or VIDE-CDD.SYS do NOT work with my Compaq Presario CDTV 510 486
  2809. class PC with an IDE/ATAPI CD-ROM drive. The only driver working in DOS mode
  2810. is the one included with the computer: CPQIDECD.SYS. See Compaq Support for
  2811. more info:"
  2812. http://www.compaq.com/support/
  2813. 5. CD-ROM Drivers on the Internet: see "FREE WinDOwS CD/DVD DRIVERS + TOOLS"
  2814. in SOFTWARE.TXT (included).
  2815. 6. See this help page:
  2816. http://www.bootdisk.com/readme.htm#cdromdos
  2817.  
  2818.  
  2819.  
  2820. %WINDIR% VARIABLE
  2821.  
  2822.  
  2823.  
  2824. %WINDIR% is a variable used by ALL MS-DOS 6.xx, 7.xx and 8.00 commands, both
  2825. internal and external.
  2826. Internal MS-DOS commands (built into the OS, NOT real files): COPY, DEL, MD,
  2827. RD, CD etc.
  2828. External MS-DOS commands (actual files on your disk, located by default in
  2829. C:\DOS): XCOPY.EXE, MOVE.EXE, ATTRIB.EXE, DELTREE.EXE etc.
  2830.  
  2831. BEWARE: The %WINDIR% variable is available ONLY with the Windows/WfWG GUI
  2832. started, therefore can ONLY be used in a Windows/WfWG DOS session/box prompt
  2833. and in batch files executed ONLY from within Windows/WfWG, it canNOT be used
  2834. in native/true MS-DOS mode outside Windows/WfWG!
  2835. So if you are running such commands from the native MS-DOS prompt, use the
  2836. real name of your Win31 directory.
  2837. Example:
  2838. C:
  2839. XCOPY <parameters> %WINDIR%\*.INI C:\WINBAK
  2840.  
  2841. The %WINDIR% variable shows off its usefulness when you have Windows/WfWG
  2842. installed in directory other than the default C:\WINDOWS, and/or would like
  2843. to use the same batch file(s) on multiple Windows PCs (eventually connected
  2844. to a network), without having to customize it/them individually for each
  2845. machine.
  2846. The Windows/WfWG directory (set <windir>) is an internal MS-DOS variable,
  2847. specified in IO.SYS (a system file located in C:\ root), which is processed
  2848. first by the MS-DOS bootup routine.
  2849. If you run the SET command in a Windows DOS box (session) prompt, using
  2850. "| MORE" to display one screen at a time:
  2851. SET | MORE
  2852. you'll see all MS-DOS variables, including "windir".
  2853. Notice that the internal ones ("windir") appear in small characters, and
  2854. the external SET variables (specified in Config.sys and/or Autoexec.bat by
  2855. the SET <variable> command lines) appear in capitals.
  2856. Example of a common SET variables list at a Win31 DOS box prompt:
  2857.  
  2858. windir=C:\WINDOWS
  2859. COMSPEC=C:\DOS\COMMAND.COM
  2860. TEMP=C:\DOS
  2861. TMP=C:\DOS
  2862. PATH=C:\;C:\DOS;C:\WINDOWS;C:\STUFF;... etc
  2863. PROMPT=$P$G
  2864. WINPMT=Type EXIT & hit Enter 2 return 2 Windows!$_$P$G
  2865. SOUND=C:\SB16
  2866. MIDI=SYNTH:1 MAP:E MODE:0
  2867. BLASTER=A220 I5 D1 H5 P330 T6 E620
  2868. MOUSE=C:\MOUSE
  2869. COPYCMD=/Y
  2870. DIRCMD=/A/O:GEN/P
  2871. etc...
  2872.  
  2873. Now notice the difference if you run the same "SET | MORE" command from the
  2874. native MS-DOS:
  2875.  
  2876. COMSPEC=C:\DOS\COMMAND.COM
  2877. TEMP=C:\DOS
  2878. TMP=C:\DOS
  2879. PATH=C:\;C:\DOS;C:\WINDOWS;C:\STUFF;... etc
  2880. PROMPT=$P$G
  2881. WINPMT=Type EXIT & hit Enter 2 return 2 Windows!$_$P$G
  2882. SOUND=C:\SB16
  2883. MIDI=SYNTH:1 MAP:E MODE:0
  2884. BLASTER=A220 I5 D1 H5 P330 T6
  2885. MOUSE=C:\MOUSE
  2886. COPYCMD=/Y
  2887. DIRCMD=/A/O:GEN/P
  2888. etc...
  2889.  
  2890.  
  2891.  
  2892. TEMP FILES, BE GONE!
  2893.  
  2894.  
  2895.  
  2896. MS Windows 9x/ME/3.1x users are well aware of this annoyance: disk clutter!
  2897. One easy way to ditch unneeded temporary/backup files under Windows (which in
  2898. time can occupy significant amounts of disk space), is to run a batch file,
  2899. which deletes all: *.---, *.000, *.001, *.002, *.B~K, *.BAK, *.BMK, *.CHK,
  2900. *.DA1, *.DAT, *.GID, *.INK, *.LHX, *.LOG, *.OUT, *.PAR, *.$$$, *.SYD, *.SYK,
  2901. *.SWP, *.TMP, *.~MP, *.TXT, MSCREATE.DIR, *.*$, _*.*, ~*.*, *.~*, *.*_, *.*~,
  2902. *.^* etc files from ALL your fixed hard drive(s)/partitions.
  2903. Specific programs/tools create specific temporary/backup files (examples):
  2904. - *.---, *.B~K, *.BAK, *.LOG, *.TXT = in the root directory of your boot drive
  2905. (usually C:\), when you make system changes and/or installed apps;
  2906. - *.GID = in your Windows/WfWG 3.1x directory, whenever you clicked a "Help"
  2907. button and/or used the Help Search option, ONLY IF you installed MS Win32s
  2908. 32-bit Extensions Add-on for Windows/WfWG 3.1x [2.4 MB, free]:
  2909. ftp://ftp.microsoft.com/softlib/mslfiles/PW1118.EXE
  2910. - *.SYD = in your boot drive/partition root directory (C:\) and/or your
  2911. Windows directory, as backups created by SysEdit.exe, a system file
  2912. (Autoexec.bat, Config.sys, System.ini, Win.ini) editing tool, located in
  2913. C:\Windows\System;
  2914. - *.CHK = in the root directory of the drive checked for
  2915. cluster/file/directory errors by using the native MS-DOS mode Microsoft
  2916. CHKDSK.EXE tool bundled with MS-DOS 7.xx (a.k.a. MS Windows 9x) and MS-DOS
  2917. 6.xx, can be safely erased;
  2918. - WIN386.SWP = Windows temporary swap file, located by default in your Windows
  2919. directory, can be safely erased ONLY from native/real MS-DOS mode!
  2920. - MSCREATE.DIR = 0 Byte hidden files created by Microsoft programs at Setup
  2921. time in the respective program's folder(s), can be safely erased. More info:
  2922. - PC Forrest:
  2923. http://www.forrestandassociates.co.uk/pcforrest/mscreate_dir.html
  2924. - MSKB:
  2925. http://support.microsoft.com/support/kb/articles/q132/9/78.asp
  2926. Some of these files have the read-only, hidden and/or system attributes.
  2927. Therefore you need to "strip" them of their attributes to be able to delete
  2928. them.
  2929. Example: create a batch file to include the DOS command lines below, to delete
  2930. these temp files from C:\ root:
  2931.  
  2932. @ECHO OFF
  2933. C:
  2934. CD\
  2935. ATTRIB.EXE -H -R -S +A \*.OLD
  2936. ATTRIB.EXE -H -R -S +A \*.PRV
  2937. ATTRIB.EXE -H -R -S +A \*.TXT
  2938. DEL \*.OLD
  2939. DEL \*.PRV
  2940. DEL \*.TXT
  2941.  
  2942. WARNING:
  2943. Do NOT delete ANY *.DAT, *.INI, *.LOG or *.TXT files from your Windows
  2944. directory!
  2945. A radical approach to getting rid of ALL files that pile up in your temporary
  2946. directory (usually C:\Windows\Temp), is to include these DOS commands in a
  2947. batch file:
  2948.  
  2949. @ECHO OFF
  2950. ECHO Y | DELTREE.EXE C:\WINDOWS\TEMP
  2951. MD C:\WINDOWS\TEMP
  2952.  
  2953. Substitute the Windows directory name with yours if different.
  2954. It is recommended to delete your Windows temporary files ONLY from native
  2955. MS-DOS, or if you'd like to do this from inside the Windows GUI (a DOS box),
  2956. make sure you close ALL open programs FIRST!
  2957. ONLY IF using this BATch from within Windows/WfWG 3.1x GUI:
  2958.  
  2959. @ECHO OFF
  2960. ECHO Y | DELTREE.EXE %windir%\TEMP
  2961. MD %windir%\TEMP
  2962.  
  2963. Note that DELTREE.EXE is included ONLY with MS-DOS 6.00 and newer!
  2964. Open W31.BAT (included) in Notepad, to see how I keep my hard drives "filthy
  2965. clean", every time I shut-down Windows to MS-DOS.
  2966.  
  2967. UPDATES:
  2968. 1. "*.000 and *.001 are frequently used by D*Space [Drvspace/Dblspace].
  2969. Careful when deleting them, if using one of these disk compression tools!"
  2970. [Thank you Yuri (kukina@nioch.nsc.ru)!]
  2971. 2. "*.LOG files are used by some Uninstall programs to keep a log of what is
  2972. installed during the process, essential for a successful uninstall."
  2973. [Thank you Raymond (raymond.tau@personet.net)!]
  2974.  
  2975.  
  2976.  
  2977. POWERFUL XCOPY
  2978.  
  2979.  
  2980.  
  2981. When you run this command at any MS-DOS 6.xx prompt:
  2982. XCOPY /?
  2983. you get this help screen:
  2984.  
  2985. "Copies files (except hidden and system files) and directory trees.
  2986. XCOPY source [destination] [/A | /M] [/D:date] [/P] [/S] [/E] [/V] [/W]
  2987. source        Specifies the file(s) to copy.
  2988. destination    Specifies the location and/or name of new files.
  2989. /A        Copies files with the archive attribute set,
  2990.         doesn't change the attribute.
  2991. /M        Copies files with the archive attribute set,
  2992.         turns off the archive attribute.
  2993. /D:date        Copies files changed on or after the specified date.
  2994. /P        Prompts you before creating each destination file.
  2995. /S        Copies directories and subdirectories except empty ones.
  2996. /E        Copies any subdirectories, even if empty.
  2997. /V        Verifies each new file.
  2998. /W        Prompts you to press a key before copying.
  2999. /Y        Suppresses prompting to confirm you want to overwrite an
  3000.         existing destination file.
  3001. /-Y        Causes prompting to confirm you want to overwrite an
  3002.         existing destination file.
  3003. The switch /Y may be preset in the COPYCMD environment variable.
  3004. This may be overridden with /-Y on the command line"
  3005.  
  3006. XCOPY.EXE is located by default in your C:\DOS directory.
  3007. XCOPY is the most powerful "COPY/MAKE DIR" command Microsoft came up with,
  3008. begining with the MS-DOS 6.00 release.
  3009. This is the COPYCMD command variable, you can add to your Autoexec.bat file
  3010. to disable the XCOPY confirmation prompt (use it with CAUTION!):
  3011. SET COPYCMD=/Y
  3012. Use XCOPY with a combo of parameters to copy files with the read-only
  3013. attributes to ANY destination (you can't copy system or hidden files, and
  3014. the read-only attribute is NOT preserved).
  3015. Example of XCOPY command used to copy (backup) ALL subdirectories and files
  3016. in your Windows/WfWG 3.1x directory to another drive/directory:
  3017. XCOPY /A /E /Y C:\WINDOWS D:\WIN31BAK
  3018. WARNING:
  3019. If you use the "XCOPY /Y" parameter (or the "COPYCMD" command variable),
  3020. XCOPY will OVERWRITE ALL existing files WITHOUT prompting you first!
  3021. ADD-ON:
  3022. There is a better XCOPY(32) alternative: XXCOPY for Win9x/NT/2000/ME/DOS
  3023. (freeware):
  3024. http://www.xxcopy.com/xxcopy/
  3025. which adds more command line switches [besides supporting ALL Microsoft
  3026. XCOPY(32) parameters], and complete LFNs support in a DOS box
  3027. (Win9x/NT/2000/ME only).
  3028.  
  3029.  
  3030.  
  3031. AUTOEXEC.BAT X 2
  3032.  
  3033.  
  3034.  
  3035. This trick was published in PC Magazine Vol. 14, No. 19, page 527:
  3036. http://www.zdnet.com/pcmag/
  3037. You can run your AUTOEXEC.BAT after the boot process is over, and execute
  3038. different command lines depending on whether you're running it during the
  3039. bootup routine or afterwards.
  3040. The principle is to implement a MS-DOS batch variable to differentiate the
  3041. lines you want to run only after bootup from those you like executed only at
  3042. startup.
  3043. All you have to do is prefix your AUTOEXEC.BAT lines that should run only at
  3044. bootup with this line:
  3045. IF "%0"==""
  3046. MS-DOS plugs a batch file name into the "%0" parameter when you execute it
  3047. from the command line, but when AUTOEXEC.BAT is processed at bootup, this
  3048. parameter is still blank.
  3049. Easier, if you have a group of command lines you'd like executed only at
  3050. startup, just insert this on a separate line before them:
  3051. IF NOT "%0"=="" GOTO AFTERBOOT
  3052. Then insert the label ":AFTERBOOT" (without quotes), on a line of its own,
  3053. after the last line in your selected group. And if you have more than one
  3054. group of such commands, use a different label for each one, e.g.
  3055. ":AFTERBOOT1", ":AFTERBOOT2" etc.
  3056.  
  3057.  
  3058.  
  3059. SERIAL KILLER! [UPDATED 4-24-1998]
  3060.  
  3061.  
  3062.  
  3063. This tip is intended for all PC users who:
  3064. - have a serial mouse connected to a COM port (usually COM1 or COM2);
  3065. - own an internal ISA modem/fax card that can be configured to be connected
  3066. to any of the four COM ports supported by the PC/AT BIOS.
  3067.  
  3068. * FIRST CASE:
  3069.  
  3070. If you have a serial mouse connected to the COM1 serial port, you need to set
  3071. your internal modem for COM4, and if your mouse is on COM2, your modem needs
  3072. to be set for COM3.
  3073. Why? Simple, because the IBM PC clone has a major limitation: [I wish it
  3074. would be the only one... :(] it has only 15 usable IRQs (hardware interrupts),
  3075. and a maximum of 4 COM (communication) ports. And it's not used to share (the
  3076. hardware resources anyway). This is the complete PC/AT COM ports list of valid
  3077. (hardware default) assigned resources:
  3078.  
  3079. Interrupt ReQuest line (IRQ) decimal values:
  3080.  
  3081. COM1 = IRQ 4
  3082. COM2 = IRQ 3
  3083. COM3 = IRQ 4
  3084. COM4 = IRQ 3
  3085.  
  3086. Base Address (BA) hexadecimal (h) values:
  3087.  
  3088. COM1 = 3F8h
  3089. COM2 = 2F8h
  3090. COM3 = 3E8h
  3091. COM4 = 2E8h
  3092.  
  3093. As you can see, the four COM ports share a total of only 2 (two) IRQs:
  3094. - COM1 + COM3 use the same IRQ = 4
  3095. - COM2 + COM4 use the same IRQ = 3
  3096. So if you hook up your serial mouse to COM1, you can't connect your modem to
  3097. COM3, because they share the same interrupt (IRQ 4). You could have your
  3098. serial mouse and modem share the same IRQ, but you'll experience conflicts.
  3099. Better avoid them. Same is valid with COM2 and COM4 (they share IRQ 3).
  3100. EXAMPLE:
  3101. Therefore, I had to set my modem (Philips PCM33IA internal PnP modem/fax
  3102. 33.6/14.4 kbps, jumper adjustable) to use COM3, while my serial mouse is
  3103. connected to COM2. In ANY other configuration my modem was unable to properly
  3104. access the internet.
  3105. I had to assign this particular COM port configuration on 3 different PC/AT
  3106. Pentium class motherboards:
  3107. - Intel Plato II Premium Intel Pentium 90MHz + Award BIOS;
  3108. - Tyan Tomcat 1 S1562 Triton II HX Intel Pentium 200MHz + Award BIOS;
  3109. - Megatrends HX83 Triton II HX Intel Pentium 233MHz MMX + AMI BIOS.
  3110.  
  3111. * SECOND CASE:
  3112.  
  3113. Connect your serial mouse to COM port 1. Then if your motherboard BIOS
  3114. supports it, go into SETUP (usually by pressing the Del key while your machine
  3115. is stepping through the boot up sequence). In the Peripherals screen
  3116. (available on AMI BIOSes) or similar (depending on your BIOS type), disable
  3117. Serial/COM Port 2 entirely. Reboot. Now set your internal ISA modem to use COM
  3118. port 2 in all your DOS and Windows applications.
  3119. EXAMPLE:
  3120. I have done this on a Megatrends HX83 Pentium motherboard with AMI BIOS, using
  3121. an ISA internal PnP jumperless 3COM/US Robotics 56K V.90 Winmodem.
  3122. ... I really hope the new USB (Universal Serial Bus) standard will do away
  3123. with this annoying limitation once for all.
  3124. NOTE: These workarounds don't apply to newer PnP modems that can also use
  3125. other IRQs, besides the two standard IRQs (3 and 4) used by the four standard
  3126. COM ports (newer 3COM/US Robotics modems can also use IRQ 7 or 9).
  3127.  
  3128. PS/2 mice/pointing devices have IRQ 12 assigned by default (usually not used
  3129. by other devices on a standard PC), therefore avoiding such compatibility
  3130. issues. BUT to my knowledge, the PS/2 mouse interface is slower than a COM
  3131. port, IF your motherboard COM ports have a fast UART chip to boot: at least
  3132. a 16550A. Therefore if you have both a serial AND a PS/2 mouse adapter (some
  3133. mouse vendors will provide both), and both an external serial (COM) port AND
  3134. a PS/2 mouse interface on the back of your computer case, then I suggest
  3135. using the serial plug to hook up your rodent, and then configure your
  3136. BIOS/Operating System properly to accept it, and avoid IRQ/BA conflicts.
  3137. IMPORTANT: To learn your hardware specs and supported standards, read your
  3138. motherboard/BIOS and modem manuals and help files.
  3139. Good luck...
  3140.  
  3141.  
  3142.  
  3143. CD-ROM NAME
  3144.  
  3145.  
  3146.  
  3147. This BUG fix applies to all Windows/WfWG 95/98/3.1x users who own a
  3148. CD-ROM/CD-R/CD-RW/DVD-ROM/DVD-R/DVD-RW/DVD-RAM/etc drive and load the MS-DOS
  3149. (native/real mode) 16-bit CD/DVD device driver from Config.sys and the CD
  3150. Extensions TSR (i.e. MSCDEX.EXE) from Autoexec.bat.
  3151. Do NOT create/rename a directory bearing the same name as your MS-DOS CD/DVD
  3152. drive name, mentioned on the Config.sys CD-ROM device driver line and on the
  3153. Autoexec.bat MSCDEX line!
  3154. Generic CONFIG.SYS lines for CD/DVD MS-DOS mode device drivers:
  3155. - (E)IDE/ATAPI CD/DVD drive:
  3156. DEVICEHIGH=drive:\path\CDROM.SYS /D:MYCDROM
  3157. - SCSI CD/DVD drive:
  3158. DEVICEHIGH=drive:\path\ASPIDOS.SYS
  3159. DEVICEHIGH=drive:\path\ASPIHLP.SYS
  3160. DEVICEHIGH=drive:\path\ASPICD.SYS /D:MYCDROM
  3161. Replace all "drive", "path" (no quotes) and file names with your actual drive
  3162. letter(s), directory name(s) and file name(s).
  3163. See "CD-ROM DRIVERS 4 DOS" in MYTIPS31.TXT (this file) for details on DOS
  3164. mode CD/DVD drivers and (in)compatibilities.
  3165. You also need to load MSCDEX.EXE (MicroSoft Compact Disc EXtensions) or a
  3166. similar TSR in your AUTOEXEC.BAT, for your CD/DVD drive to be properly
  3167. recognized by the system in native/true MS-DOS mode.
  3168. Generic AUTOEXEC.BAT line for MSCDEX:
  3169. LOADHIGH=drive:\path\MSCDEX.EXE /D:MYCDROM
  3170. In this example MYCDROM is the CD/DVD drive name and MUST be IDENTICAL with
  3171. the one on your CD/DVD device driver line in your CONFIG.SYS!
  3172. The CD/DVD drive name specified with the /D:XXXXXXXX switch on your MSCDEX
  3173. line may NOT exceed 8 characters (case insensitive), and spaces or
  3174. punctuation symbols are NOT allowed!
  3175. Therefore, do NOT create/rename a directory on ANY of your fixed/local
  3176. drives/partitions with the name MYCDROM!
  3177. If you do, it won't be recognized, and you'll get an error message like this:
  3178. "Unable to run/copy/move/rename/etc XXXXXXXX.YYY file/directory"
  3179. whenever you try to access any file(s) or subdirectories located in that
  3180. directory, or if you try to delete/rename/move/etc that particular directory.
  3181.  
  3182.  
  3183.  
  3184. STUBBORN CONTROL PANEL APPLET
  3185.  
  3186.  
  3187.  
  3188. There is a way to get rid of unwanted/obsolete Control Panel Applets
  3189. (.CPL files), located in your C:\Windows\System directory (default).
  3190. FIRST: BACKUP your CONTROL.INI file (found in your Windows directory)!
  3191. Now make sure your Control Panel is CLOSED, then open Control.ini with
  3192. Notepad, and scroll down to the [Don't load] section (or add it if it
  3193. is not present).
  3194. You might find a few lines under this header (example below shows my
  3195. WfWG 3.11 CONTROL.INI lines):
  3196.  
  3197. [Don't load]
  3198. snd.cpl=no
  3199. joystick.cpl=no
  3200. midimap.drv=no
  3201.  
  3202. This means that the Win31 Sound Applet loads in WfWG's Control Panel
  3203. (replacing "no" with "yes" on the "snd.cpl=" line, would disable it,
  3204. preventing this applet/icon from showing).
  3205. This way you can add/modify/delete/remark these lines to enable/disable
  3206. ANY/ALL Control Panel Applets, without moving or deleting them.
  3207. Example:
  3208.  
  3209. [Don't load]
  3210. snd.cpl=yes
  3211.  
  3212. This line disables the Sound Properties, preventing it from appearing in
  3213. Control Panel. Therefore changing it to:
  3214.  
  3215. snd.cpl=no
  3216.  
  3217. enables (shows) the Sound Properties in Control Panel.
  3218. Note that you can replace "no" with "0", "off" or "false". Similarly, "yes"
  3219. has the same effect as "1", "on" or "true" (but don't type the quotes).
  3220. Save your Control.ini file and close Notepad when you're done. Changes take
  3221. effect next time when you open Control Panel.
  3222. This feature is useful to block the access to your system settings if
  3223. someone else also shares your PC, and you would like to keep your own
  3224. customized Windows/WfWG 3.1x desktop (security purposes).
  3225. This is a list of .CPL files installed by Windows/WfWG 3.1x in the
  3226. C:\Windows\System directory (depending on your system configuration, and if
  3227. you installed 3rd party programs/tools):
  3228.  
  3229. .CPL Applet    Purpose            Installed by
  3230. ----------------------------------------------------
  3231. Cpaddin.cpl    Control Panel Add-in    Control Panel Add-in (3rd party
  3232.                     shareware)
  3233. Cpwin386.cpl    386 Enhanced        MS Windows/WfWG 3.1x
  3234. Drivers.cpl    Drivers            MS Windows/WfWG 3.1x
  3235. Fax.cpl        Fax            MS Windows/WfWG 3.1x
  3236. Joystick.cpl    Joystick        Intel Joystick Driver
  3237. Main.cpl    Desktop            MS Windows/WfWG 3.1x
  3238. Morecon.cpl    More Control        More Control (3rd party freeware)
  3239. Qtw16.cpl    Quick Time Movie    Apple Quick Time Movie 16-bit
  3240.                     Player v2.x (3rd party freeware)
  3241. Snd.cpl        Sound            MS Windows/WfWG 3.1x
  3242. Wfwnetcp.cpl    WfWG 3.1x Network    MS WfWG 3.1x
  3243.  
  3244.  
  3245.  
  3246. PERSONAL MANAGER    [+]
  3247.  
  3248.  
  3249.  
  3250. "Program Manager to Personal Manager
  3251.  
  3252. This tip applies to Microsoft Windows 3.x.
  3253.  
  3254. You can personalize Program Manager a little more by performing a few simple
  3255. steps. Start Windows 3.x. With your Startup Group selected, click on File,
  3256. New. Choose New Item and click OK. In the "Description" field, put in any name
  3257. you choose.
  3258. Note that this name/description will replace the words "Program Manager" on
  3259. Program Manager's title bar. As for the "Command Line", type in PROGMAN.EXE,
  3260. and set the "Working Directory" to the drive and path of your Windows
  3261. installation.
  3262.  
  3263. Do not check the "Run Minimized" option at the bottom. Click on change icon
  3264. and click OK twice.
  3265.  
  3266. Exit Windows 3.x and then restart it by typing "WIN" at the DOS prompt.
  3267.  
  3268. Windows 3.x will load normally, the only difference is that it will now say
  3269. the words you entered for "Description" in place of the words "Program
  3270. Manager" on the Program Manager title bar. This takes NO extra RAM and alters
  3271. no important settings, it just lets you personalize your Windows 3.x a
  3272. little more.
  3273.  
  3274. The Captain"
  3275.  
  3276.  
  3277.  
  3278. DUAL BOOT
  3279.  
  3280.  
  3281.  
  3282. This is the step by step installation procedure to enable the dual-boot
  3283. feature for MS-DOS 6.xx + Windows/WfWG 3.1x under Windows 95/98/ME + MS-DOS
  3284. 7.xx/8.00.
  3285. A MUST:
  3286. To PROPERLY dual-boot between MS-DOS 6.xx and Windows 95 B/C OSR 2.x or
  3287. Windows 98/98 SE, YOU *MUST* APPLY the workarounds detailed in "DUAL-BOOT IN
  3288. OSR2/WIN98":
  3289. http://members.aol.com/axcel216/osr2.htm#2BOOT
  3290. also included in OSR2TIPS.TXT, part of W95-11D.ZIP:
  3291. http://members.aol.com/axcel216/95.htm
  3292. DrvSpace compressed drives can also be handled with this method, if used to
  3293. keep running your old programs under your old DOS6/Win31 OS, while also using
  3294. Windows 9x/ME. BEWARE that Win9x/ME do NOT support DblSpace (included only
  3295. with MS-DOS 6.00), and that you MUST use the DRVSPACE.* files included with
  3296. your Win95/98/ME release if dual-booting!
  3297. Make sure your dual-boot disk/partition is formatted using FAT16, because
  3298. MS-DOS 6.xx/5.00 do NOT recognize FAT32, NTFS or ANY OTHER File Allocation
  3299. Table (FAT) system!
  3300. Here we go:
  3301.  
  3302. A. Copy (duplicate) your whole Windows/WfWG 3.1x directory and all its
  3303. subdirectories to another directory, let's say \WIN3. Copy the \DOS directory
  3304. to a new one, let's say \DOS6.
  3305.  
  3306. B. Edit all INI files in the new WIN3 directory and change all references
  3307. from \WINDOWS to \WIN3 (open them with a plain text editor: Notepad in
  3308. Windows or EDIT.COM in DOS).
  3309. Start a Search/Replace pattern for all \WINDOWS instances to be replaced with
  3310. \WIN3. Also, while running the new copy of Win31, delete the REG.DAT file
  3311. (found in \WIN3), and then open File Manager, go to the \WIN3\SYSTEM
  3312. subdirectory of the current running Win31 copy, and double-click on all the
  3313. .REG files there, to create a new/updated REG.DAT file.
  3314. See "RESTORE CORRUPTED REG.DAT" in MYTIPS31.TXT (this file) for MORE info.
  3315. You will also have to modify all the program groups (in Program Manager) and
  3316. all items in them, to point to the new \WIN3 directory.
  3317.  
  3318. C. Open your MS-DOS 6.xx version of AUTOEXEC.BAT in Notepad or EDIT.COM, and
  3319. REM the PATH= line. Copy it, and paste it as the next line, and then modify
  3320. the Windows directory to point to \WIN3, and \DOS to read \DOS6, respectively.
  3321. Change also the IFSHLP.SYS (the Win31 32-bit disk access driver) path in your
  3322. DOS6 CONFIG.SYS to point to \WIN3. If you load HIMEM.SYS and/or EMM386.EXE
  3323. from your DOS6 directory, you need to modify their paths too, to point to
  3324. \DOS6. Repeat this step for ANY other devices/drivers/TSRs that load from
  3325. \DOS6 or \WIN3 to point to the new directories, like SMARTDRV, MOUSE etc.
  3326.  
  3327. D. Reboot, restart Win31 and run Windows 9x Setup through Win31's Program
  3328. Manager's File/Run menu. Win9x install will rename your old CONFIG.SYS and
  3329. AUTOEXEC.BAT files to CONFIG.DOS and AUTOEXEC.DOS respectively. If you choose
  3330. to boot with the "Previous version of MS-DOS", from the Win9x Startup Menu:
  3331. http://members.aol.com/axcel216/msdos.htm#MEN
  3332. Win9x renames them back to CONFIG.SYS and AUTOEXEC.BAT, and backs up their
  3333. Win9x/DOS7 versions with the .W40 extension (AUTOEXEC.W40 and CONFIG.W40
  3334. respectively).
  3335.  
  3336. E. After Win9x install is finished, use the Win9x Notepad to edit CONFIG.DOS
  3337. and AUTOEXEC.DOS and change all \WINDOWS references in them to \WIN3, and
  3338. all \DOS references to \DOS6.
  3339.  
  3340. F. The following lines MUST appear in the [Options] section of your Win9x
  3341. MSDOS.SYS file. If you use Drivespace disk compression you MUST change both
  3342. MSDOS.SYS files, the one on the boot drive's root directory (C:\) and the
  3343. one on the compressed drive's root directory (usually H:\), if using MS
  3344. Drvspace disk compression:
  3345.  
  3346. [Options]
  3347. BootGUI=1
  3348. Network=0
  3349. BootMulti=1
  3350. BootMenu=1
  3351. BootMenuDefault=7 => To boot in MS-DOS 6.xx (you have only 7 options if
  3352. Networking/TCP/IP is turned off in Win9x OS, by the "Network=0" line in
  3353. Msdos.sys). Use option 1 (default) to boot into Win9x OS.
  3354. BootMenuDelay=30  => Default number of seconds to select an option.
  3355.  
  3356. To add these lines, first open "My Computer" and enable "Show All files"
  3357. from View -> Options -> View, and also uncheck "Hide MS-DOS file
  3358. extensions". Then open the Win9x MSDOS.SYS file in Notepad, and see if it
  3359. contains the lines listed above. If it doesn't, you need to edit it and
  3360. put them in. Since MSDOS.SYS is a read-only/hidden/system file, you need
  3361. to change its attributes first and then use Notepad to insert the new
  3362. lines. When you're done, you need to change Msdos.sys' attributes back to
  3363. original to write-protect the file, and make it recognizable by Win9x OS.
  3364. To change the attributes, right-click on the MSDOS.SYS icon in Explorer.
  3365. Select Properties and uncheck all attribute boxes.
  3366. Save your file and exit Notepad. Now change the MSDOS.SYS attributes back to
  3367. hidden, read-only, system.
  3368.  
  3369. G. Exit Win9x and reboot. Now you should see the dual-boot menu and will be
  3370. able to select which OS you want to boot with. The first option: "Normal",
  3371. allows you to boot into Win9x, and option 8 (if the line Network=1 is
  3372. enabled in MSDOS.SYS), "Previous version of MS-DOS", lets you boot with your
  3373. old MS-DOS 6.xx + Windows/WfWG 3.1x.
  3374. The boot menu looks like this (you have only 7 choices if you're not
  3375. connected to a Network or a TCP/IP provider):
  3376.  
  3377. Microsoft Windows 95 (98) Startup Menu
  3378. ======================================
  3379. 1. Normal
  3380. 2. Logged (\BOOTLOG.TXT)
  3381. 3. Safe mode
  3382. 4. Safe mode with network support -> Option 4 appears ONLY on
  3383.                      Networked/TCP/IP enabled systems
  3384. 5. Step-by-step confirmation
  3385. 6. Command prompt only
  3386. 7. Safe mode command prompt only
  3387. 8. Previous version of MS-DOS
  3388.     Enter a choice: 5
  3389. F5=Safe mode Shift+F5=Command prompt Shift+F8=Step-by-step confirmation[N]
  3390.  
  3391. FYI: Microsoft removed the Startup Menu from Windows Millennium Edition (ME),
  3392. but you can still access most of these options by hitting the "combo" keys at
  3393. bootup!
  3394.  
  3395. H. Any Windows programs installed after doing this will ONLY appear in the
  3396. system you were running at the Win9x install time!
  3397. Example: if you installed MS Word (the old 16-bit version) under Win9x you
  3398. have to install it again under Win31 if you want to use it with both.
  3399. You can install the applications in the same directory both times, which
  3400. overwrites the same files to avoid having 2 sets of the same program on your
  3401. drive(s), thus saving disk space. If you have 2 different versions of the
  3402. same application, one for Win31 (older, 16-bit) and the other for Win9x (the
  3403. 32-bit newer version, incompatible with Win31), install them into different
  3404. directories: one for Win9x (32-bit), installed from the Win9x GUI, and
  3405. another for Win31 (16-bit), installed from the Win31 GUI.
  3406.  
  3407. FYI: MSKB: "Multi-Boot Windows 2000/NT, Windows 95/98/ME + MS-DOS":
  3408. http://support.microsoft.com/support/kb/articles/q217/2/10.asp
  3409.  
  3410.  
  3411.  
  3412. WIN95/98/NT EASY MIGRATION [+]
  3413.  
  3414.  
  3415.  
  3416. "Installing Win95/98/NT over(writing) Win 3.x
  3417.  
  3418. Some people like the dual-boot features of Windows 95/98 that let you keep
  3419. booting to an existing OS such as Windows 3.x and a previous version of DOS,
  3420. myself included.
  3421.  
  3422. I found a simple way to migrate your current Windows 3.x apps to Windows 95/98
  3423. without losing Windows 3.x and you don't have to reinstall any of your
  3424. programs.
  3425.  
  3426. All you have to do is make an exact duplicate of your Windows 3.x directory
  3427. and all the files and subdirectories within it, and that's usually just your
  3428. Windows and Windows\System directories and the files contained in them.
  3429. Usually it is less than 10 megabytes so this isn't a problem if you're short
  3430. on disk space. All you need to do is make a directory named Win95 or Win98
  3431. depending on which version you are installing. Go into MS-DOS or use the
  3432. Windows File Manager program to copy all your files from C:\Windows
  3433. (substitute your drive/directory name in place of C:\Windows) and your
  3434. C:\Windows\System (same) to your C:\Win95 or C:\Win98 System directory. You
  3435. will need a sub-directory in your DUPLICATE COPY of Windows 3.x named "System"
  3436. where you copy the old Windows 3.x system files from the Windows 3.x system
  3437. sub-directory.
  3438.  
  3439. Then simply run Windows 95 or Windows 98's installation program and tell it to
  3440. install to C:\Win95 or C:\Win98, overwriting your "previous" (actually a copy
  3441. of your previous) version of Windows. All of your existing programs and
  3442. applications will be automatically ported to Windows 95/98 while still being
  3443. accessible in your original copy of Windows 3.x.
  3444. This will update the Win95/98 registry and even put the programs into the
  3445. Start Menu so you don't have to worry about it. This tip should also work for
  3446. Windows NT 4.0 and in the future, NT 5.0.
  3447.  
  3448. The Captain"
  3449.  
  3450.  
  3451.  
  3452. RELEASE MY MODEM!
  3453.  
  3454.  
  3455.  
  3456. This applies ONLY to dial-up (phone line based) modems connected to one of
  3457. your computer's COM(munication) ports in Windows 9x/ME/3.1x.
  3458. If you are using both Windows and MS-DOS based communications/fax programs,
  3459. you may experience occasional error messages such as:
  3460. "Another program is using the selected Telephony device. Try again after the
  3461. other program completes."
  3462. or:
  3463. "Cannot initialize COMx port"
  3464. This means your modem/fax device may not be properly released for further use
  3465. upon exiting a DOS based communications/fax application (running in a DOS
  3466. box/session/window). But there is a workaround.
  3467. The state of a device contention in Windows 9x/ME/3.1x is determined by the
  3468. "COMxAutoAssign=n" setting under System.ini's [386Enh] section, where x is the
  3469. serial (COM) port number (usually 1 to 4), and n can have any integer value
  3470. from -1 up to 1000.
  3471. Windows default setting is -1. This causes Windows to NOT release a serial
  3472. port previously used by a non-Windows (DOS) based application.
  3473. To enable the "hot-swapping" capability between Windows and MS-DOS based
  3474. communications/fax programs, open your System.ini file (found in your Windows
  3475. directory) with Notepad or Sysedit, and add/modify these entries under the
  3476. [386enh] section to read:
  3477.  
  3478. COM1AutoAssign=0
  3479. COM2AutoAssign=0
  3480. COM3AutoAssign=0
  3481. COM4AutoAssign=0
  3482.  
  3483. Save your work and restart Windows for the changes to take effect.
  3484.  
  3485.  
  3486.  
  3487. BAD MEMORY?
  3488.  
  3489.  
  3490.  
  3491. Because of the more aggressive way MS Windows 3.xx, and especially 9x, NT,
  3492. 2000, ME, XP etc access the computer's memory (RAM = Random Access Memory),
  3493. your RAM chips might not last as long as expected, especially if you bought
  3494. generic, cheap, unmatched and/or unreliable DRAM (Dynamic Random Access
  3495. Memory), a while back.
  3496. Faulty or unproperly matched RAM can give you a major headache. You can get
  3497. intermittent, random or frequent error messages at bootup, or your machine
  3498. won't even start, locking up at the BIOS POST (Power On Self Test) screen!
  3499. Usually the audible beeps during the BIOS/CMOS bootup POST routine can help in
  3500. detecting the problem, but you need to find out from your computer's
  3501. documentation what exactly those beeps mean.
  3502.  
  3503. BIOS/POST bootup error codes/messages:
  3504. http://www.bioscentral.com/
  3505. More info @ MSKB:
  3506. - Win95/98/ME:
  3507. http://support.microsoft.com/support/kb/articles/q134/5/03.asp
  3508. - Win/WfWG 3.1x:
  3509. http://support.microsoft.com/support/kb/articles/q93/5/21.asp
  3510.  
  3511. If you got a PC within the last 3-5 years, there is a good chance you are
  3512. using SIMMs (Single Inline Memory Modules), DIMMs (Dual Inline Memory Modules)
  3513. or RIMMs (Rambus Inline Memory Modules). No matter your memory type: EDO, FPM,
  3514. ECC, SDRAM, RDRAM etc, power spikes or outages, especially on computers not
  3515. protected by surge protectors or backup Uninterruptible Power Supply (UPS)
  3516. units, inadequate room temperature (too hot), insufficient
  3517. case/CPU/motherboard ventilation/cooling, inproper/long lasting CPU/bus
  3518. overcloking (by increasing the voltage over factory preset values), computing
  3519. habbits (some leave their machines on 24 hours a day), can all contribute to
  3520. shortening your RAM chips life span.
  3521.  
  3522. TROUBLESHOOTING:
  3523.  
  3524. 1. The first step you should take when you suspect bad memory, is to open
  3525. your PC case (you need to be a little familiar with your computer's "guts" to
  3526. attempt this, so you know how your RAM looks like), pull out ALL memory chips
  3527. and clean them with a dry cloth. To do this properly, you MUST FIRST power
  3528. off and unplug your PC. Then you MUST "ground" yourself (using an antistatic
  3529. grounding cable) to avoid nasty static discharges, that may DAMAGE your
  3530. computer's electrical components!
  3531. Then reseat them and make sure they "snap" in firmly.
  3532.  
  3533. 2. If this doesn't work, remove one chip at a time and then reboot each time,
  3534. on systems that operate without a minimum or even number (2, 4 etc) of RAM
  3535. chips, to see if the error messages are gone.
  3536. On systems that take RAM modules only in pairs, remove one pair at a time (if
  3537. you have more than 1), and restart your machine.
  3538.  
  3539. 3. Another way is to use a memory diagnostic software tool. These are usually
  3540. expensive, and targeted to computer building/repair/testing businesses.
  3541. One of the most comprehensive tools on the market is Ultra-X RAM Stress Test:
  3542. http://www.ultra-x.com/rst.html
  3543. If you are fortunate to own (or have access to) such a program, run it
  3544. continuously for at least 12-24 hours, to get accurate results.
  3545. Or try these free(ware) alternatives:
  3546. - DocMem for Win9x/NT/2000/ME/XP and DOS:
  3547. http://www.simmtester.com/PAGE/products/doc/docinfo.asp
  3548. - MEMTEST:
  3549. http://www.aha.ru/~alegr/download/memtest_en.htm
  3550. - NMI for DOS:
  3551. http://wcarchive.cdrom.com/pub/simtelnet/msdos/memutil/nmi.zip
  3552.  
  3553. 4. You can also use Microsoft HIMEM.SYS (loads as default memory manager on
  3554. ALL Windows 95/98/ME + MS-DOS 6.xx machines) to test the reliability of your
  3555. entire extended memory (XMS) area. The HIMEM.SYS /TESTMEM:ON command line
  3556. parameter performs a more thorough memory test every time your PC boots than
  3557. the standard powerup memory test performed by most computers BIOSes, by
  3558. writing and reading data to each memory address and checking for differences.
  3559. If the data HIMEM.SYS reads from an address differs from the data it just
  3560. wrote to that address, then the memory at that address is unreliable, and can
  3561. cause system instability or loss of data!
  3562. /TESTMEM is ON by default in MS-DOS 6.00 up to 6.22, and doesn't need to be
  3563. mentioned on the CONFIG.SYS HIMEM.SYS line.
  3564. But if you own Windows 95, OSR2, 98 or ME (any release), you need to turn it
  3565. ON (it is OFF by default) by creating (if not present) or editing (using
  3566. Notepad in Windows or EDIT.COM in DOS) your CONFIG.SYS file (located in C:\
  3567. root), and add/modify this line to read:
  3568. DEVICE=C:\WINDOWS\HIMEM.SYS /TESTMEM:ON
  3569. Change the path name if different on your system.
  3570. * Windows 95/98/ME users only:
  3571. Add/modify this MSDOS.SYS (found in C:\ root) line to read:
  3572. Logo=0
  3573. Use SYS95.BAT, part of W95-11D.ZIP:
  3574. http://members.aol.com/axcel216/95.htm
  3575. to edit MSDOS.SYS the easy way.
  3576. * All MS WinDOwS users:
  3577. Reboot when done.
  3578. Now watch the OS bootup screen for any messages like:
  3579. "ERROR: HIMEM.SYS has detected unreliable extended memory at address
  3580. XXXXXXXXh."
  3581. If this happens, HIMEM.SYS will abort, and Windows won't even load without
  3582. extended memory enabled!
  3583. In such cases you should have your computer's RAM stick(s) checked for
  3584. hardware defects (and eventually replaced if necessary) by qualified
  3585. personnel.
  3586. NOTE:
  3587. Microsoft REMOVED COMPLETELY the access to native/real MS-DOS mode from
  3588. Windows Millennium Edition (ME), a.k.a. MS-DOS 8.00. :(
  3589. But you CAN get it back by applying the Unofficial WinME Real DOS-Mode Patch
  3590. [9 KB, freeware]:
  3591. http://www.geocities.com/mfd4life_2000/
  3592. which modifies COMMAND.COM + IO.SYS (from C:\Windows\Command\EBD) +
  3593. REGENV32.EXE (from C:\Windows\System) to allow Windows ME to boot to native
  3594. MS-DOS and use DOS mode startup files (AUTOEXEC.BAT + CONFIG.SYS), the Windows
  3595. 95/98 style.
  3596.  
  3597. 5. A cheap (read "free") and "hands off your PC" troubleshooting method is to
  3598. add/modify this line (using Notepad or Sysedit):
  3599. MaxPhysPage=hexadecimal-page-number
  3600. under the [386enh] section of your SYSTEM.INI file (located in your Windows
  3601. directory), to isolate the amount of memory used by Windows, no matter which
  3602. version you have: 9x/ME or 3.xx. Most 80386, 80486 and all Pentium class (and
  3603. above) CPUs make use of RAM in 4 KB (4096 Bytes) pages. Newer Pentium
  3604. II/III/IV and AMD K6/K6-2/K7/K8 CPUs use 4 MB (4096 KB) pages. That's exactly
  3605. what "MaxPhysPage" does: limits the number of RAM pages available to Windows.
  3606. This way you can tell EXACTLY how much RAM Windows accesses, and if THAT
  3607. particular memory is defective.
  3608. Example: to force Windows to use only the first 4 MB (MegaBytes) of RAM, this
  3609. line must read (hex value):
  3610. MaxPhysPage=400
  3611. Save your changes and restart Windows (which is valid every time you make
  3612. changes to SYSTEM.INI).
  3613. If the GUI (Graphical User Interface) comes back OK, try to perform some
  3614. routine tasks. If everything looks good, modify the MaxPhysPage line again to
  3615. read:
  3616. MaxPhysPage=800
  3617. This setting tells Windows to use only the first 8 MB of RAM.
  3618. Similarly, this line:
  3619. MaxPhysPage=1000
  3620. limits Windows to the first 16 MB of RAM.
  3621. Repeat the steps above every time you changed the MaxPhysPage line.
  3622. These are the most common values for the "MaxPhysPage" setting:
  3623.  
  3624. RAM Limit [MB]    MaxPhysPage Hex Value
  3625. -------------------------------------
  3626. 4        400
  3627. 8        800
  3628. 12        C00
  3629. 16        1000
  3630. 24        1800
  3631. 32        2000
  3632. 48        3000
  3633. 64        4000
  3634. 80        5000
  3635. 96        6000
  3636. 128        8000
  3637. 160        A000
  3638. 192        C000
  3639. 256        10000
  3640. 384        18000
  3641. 512        20000
  3642. 640        28000
  3643. 768        2C000
  3644. 960        3C000
  3645.  
  3646. Win98/ME users ONLY: you can also decrease the SYSTEM.INI "MaxPhysPage" value
  3647. by using MSCONFIG.EXE (System Configuration Utility): click the Start button
  3648. -> click Run... -> type MSCONFIG -> click OK or hit Enter -> click the
  3649. General tab -> click the Advanced... button -> place a check mark in the
  3650. "Limit memory to ??? MB" box -> hold the up arrow or down arrow slider until
  3651. the desired value appears -> click OK or hit Enter twice -> restart Windows.
  3652.  
  3653. The "Specifying Amount of RAM Available to Windows Using MaxPhysPage" MSKB
  3654. article lists all possible values for limiting Windows memory:
  3655. http://support.microsoft.com/support/kb/articles/q181/8/62.asp
  3656.  
  3657. 6. The more drastic solution [if everything else fails :)] is to buy more
  3658. RAM, again, one chip at a time, and restart your computer each time to test
  3659. it.
  3660. ALL your RAM chips MUST be of the same type, and you MUST get the RIGHT RAM
  3661. type (SIMM, DIMM, RIMM etc) for your specific motherboard/chipset. Read
  3662. your system documentation FIRST!
  3663.  
  3664. Check out these web sites to learn about RAM types and flavors:
  3665. - Tom's Hardware RAM Guide:
  3666. http://www.tomshardware.com/mainboard/98q4/981024/
  3667. - System Optimization Memory page:
  3668. http://www.sysopt.com/memory.html
  3669. - Ars Technica RAM identification page:
  3670. http://www.arstechnica.com/paedia/r/ram_id-1.html
  3671. - Crucial Technology: identify basic RAM modules:
  3672. http://www.crucial.com/library/memorymodid.asp
  3673.  
  3674. And while you're at it, I recommend you get MORE memory [no more excuses, they
  3675. are so cheap now :-)]. 64 MB of RAM is a good start, 128 MB is even better,
  3676. and 256 MB SDRAM (or RDRAM) is today's "sweet spot" [but not for long :)],
  3677. especially if using Windows 98/NT4/2000/ME/XP, to give Windows more physical
  3678. RAM (faster operation) to "play" with, instead of spinning that hard disk to
  3679. access the slower virtual memory (swap file).
  3680.  
  3681. WARNING:
  3682. Microsoft acknowledged in these MSKB articles:
  3683. - Q184447:
  3684. http://support.microsoft.com/support/kb/articles/q184/4/47.asp
  3685. - Q304943:
  3686. http://support.microsoft.com/support/kb/articles/q304/9/43.asp
  3687. that Windows 98, 98 SE and ME may NOT start if you have 1 GB or more RAM
  3688. installed! The FIX is to use the "MaxPhysPage" SYSTEM.INI line above to limit
  3689. the total memory available to Windows to less than 1 GB. :(
  3690.  
  3691.  
  3692.  
  3693. IDENTIFY "NO NAME" CARDS [+]
  3694.  
  3695.  
  3696.  
  3697. Courtesy of Asrepka (asrepka@suffolk.lib.ny.us).
  3698.  
  3699. "Here's another way of finding out who made your no name modem or other
  3700. add-on cards for your PC. Open up your computer case, and take out the no
  3701. name card. Write down the FCC ID number on the card. Plug the card back in
  3702. and close up your machine. Go to the following website:
  3703. http://www.fcc.gov/oet/fccid/
  3704. Type in the FCC ID number, and then search their database. You will know now
  3705. who made your no name card and then you can search the web for updated
  3706. drivers."
  3707.  
  3708.  
  3709.  
  3710. EXTRA ASCII CHARACTERS [+]
  3711.  
  3712.  
  3713.  
  3714. Another cool tip sent by The Captain. Enjoy.
  3715.  
  3716. "You aren't limited to just the number of characters (letters, symbols and
  3717. numbers) on your keyboard. In fact, you could have dozens of characters you
  3718. never knew about. Example:
  3719.  
  3720. üéâäàåçêëèïîæÆôöòùÖÜ.£ƒíóúñѪº⌐¬½¼«»░▓▒│╡╢╣║╗╝╜╛┐┼╞╟╨╤╫╪▐▀≈■
  3721.  
  3722. The above is what you get if you hold down ALT and press 3 or 4 numbers on
  3723. your numeric keypad.
  3724.  
  3725. These are known as ASCII characters, useful for putting in non-standard
  3726. keyboard characters and symbols for various purposes. Most of them should work
  3727. in Wordpad, MS Word and other text editors as well, such as EDIT.COM (MS-DOS
  3728. program)."
  3729.  
  3730. NOTES:
  3731. - Notepad (and similar plain text editors/viewers, including EDIT.COM, the
  3732. MS-DOS mode text editor) cannot display properly some of the extra ASCII
  3733. characters above. Therefore I recommend using a better text editor or your
  3734. favorite word processor to type/read/print them.
  3735. - MS-DOS 6.xx users can run the HELP command from any DOS prompt, and then
  3736. read the ANSI.SYS section to access the ASCII codes.
  3737. - The Character Map tool (Charmap.exe) included with all Windows/WfWG
  3738. releases, and found in the Windows directory, shows the key code equivalent
  3739. for each character supported by the installed fonts.
  3740.  
  3741.  
  3742.  
  3743. MICROSOFT KNOWLEDGE BASE MADE EASY
  3744.  
  3745.  
  3746.  
  3747. Windows 98? Windows ME? OSR2? MS-DOS 6.22? Windows 3.11? ... Confused?
  3748. Which one are you having trouble with? I know that all Microsoft Operating
  3749. Systems I have used so far gave me grief at some point. Why? Simple. They all
  3750. exhibit their share of BUGs, glitches, annoyances, quirks, problems,
  3751. "issues", incompatibilities, security leaks, or whatever else you want to call
  3752. them. :)
  3753. But wait! Microsoft is taking important steps towards explaining the most
  3754. common problems, answering the most "burning" questions, and eventually fix
  3755. some of the BUGs. [... and ignore others :(]
  3756. The answer is simple. And it's free. All you need is an e-mail account and/or
  3757. Internet access.
  3758. It's called the MicroSoft Knowledge Base (MSKB):
  3759. http://support.microsoft.com/
  3760. the "mother" of all support web sites. A vast area full of articles that cover
  3761. most of the unsolved, asked about, annoying issues and BUGs. And some of these
  3762. articles include free updates/patches for your "affected" Microsoft
  3763. OS/application.
  3764.  
  3765. WWW ALTERNATIVE:
  3766.  
  3767. You can access any MSKB article by searching the entire MSKB web based site,
  3768. and using an article ID number (if you know the 6 digit "Q" number), or by
  3769. entering keywords, and the appropriate OS/Environment/application name to
  3770. refer to. Example: entering the keywords: "Windows 95", "MSDOS.SYS" (don't
  3771. type the quotes), returns a list of matches (related MSKB articles), you can
  3772. click on for on-line reading, and eventually save to disk in HTML format (for
  3773. off-line reading).
  3774. More info on MSKB keywords:
  3775. http://support.microsoft.com/support/kb/articles/q242/4/50.asp
  3776. This is the Microsoft Software Support WWW server, containing free Windows
  3777. 95/OSR1/OSR2/98/ME/NT/2000/XP upgrades, drivers, patches, utilities etc:
  3778. http://www.microsoft.com/windows/downloads/
  3779. To search the entire MSKB for a particular topic of interest go to the MSKB
  3780. Search page:
  3781. http://support.microsoft.com/
  3782. Microsoft (entire web site) Search:
  3783. http://search.microsoft.com/
  3784. Unofficial MSKB articles list by topic:
  3785. http://www.chasms.com/mskb/mskb.htm
  3786. Unofficial MSKB Free Email Alerts:
  3787. http://www.kbalertz.com/
  3788.  
  3789. UPDATE:
  3790. "The Google search engine:
  3791. http://www.google.com/
  3792. can limit searches by domain.
  3793. To get the most relevant hits from searching the MSKB customize Google to
  3794. include the site main URL after your keyword(s):
  3795. keyword site:support.microsoft.com
  3796. This way you'll get hits only from support.microsoft.com, which primarily
  3797. comprises the MSKB.
  3798. If using more than one keyword separate them with spaces.
  3799. If looking for exact hits enclose your keywords with quotes."
  3800. [Thank you Rick (rbuser@hotmail.com)!]
  3801.  
  3802. FTP ALTERNATIVE:
  3803.  
  3804. All these MSKB articles are also available as plain text/ASCII files (for
  3805. faster access, and for off-line reading convenience) on the MSKB FTP server:
  3806. ftp://ftp.microsoft.com/Peropsys/
  3807. NOTE: To access the MSKB FTP server you don't need to have your web browser
  3808. configured to "Send E-mail Address as Anonymous FTP Password" for FTP log-in.
  3809. Here you need to "study" the README and INDEX text files scattered throughout
  3810. the MSKB FTP site, usually found at the top of each (sub)directory, for
  3811. specific info, and a complete list of article numbers and titles (more time
  3812. consuming, but faster, especially if your Internet connection is slower).
  3813. The "Peropsys" FTP directories you might be interested in are (their names are
  3814. eloquent):
  3815. - hardware -> covers OS related hardware issues:
  3816. ftp://ftp.microsoft.com/Peropsys/hardware/KB/
  3817. - msdos -> covers MS-DOS from 3.0 to 6.22:
  3818. ftp://ftp.microsoft.com/Peropsys/msdos/KB/
  3819. - WIN95 -> covers Windows 95, OSR1, OSR2, 98 and ME:
  3820. ftp://ftp.microsoft.com/Peropsys/WIN95/KB/
  3821. - windows -> covers Windows 3.xx and Windows for WorkGroups 3.1x:
  3822. ftp://ftp.microsoft.com/Peropsys/windows/KB/
  3823. Example: in the WIN95 KB subdirectory, click on the index.txt file [~ 325 KB].
  3824. It lists all Windows 95, 98 + ME article "Q" numbers and titles for quick
  3825. reference. Then you can click (and eventually save to disk) the particular
  3826. text article(s) you're interested in. New articles are added every month, so
  3827. you might want to check periodically for updates.
  3828. This is the Microsoft Software Support FTP server, containing free MS-DOS and
  3829. Windows 95/98/NT/3.xx upgrades, drivers, patches, utilities etc:
  3830. ftp://ftp.microsoft.com/softlib/mslfiles/
  3831. This index.txt file [~ 200 KB] contains the complete list of files posted in
  3832. the Software Library ("SoftLib"):
  3833. ftp://ftp.microsoft.com/softlib/index.txt
  3834.  
  3835. E-MAIL ALTERNATIVE:
  3836.  
  3837. 1. Fire up your e-mail client and send a message to:
  3838. MSHelp@microsoft.com
  3839. with the word INDEX in the Subject field. This will return an automated list
  3840. of all new ("hot") MSKB articles/issues/discovered bugs, in reference to all
  3841. current Microsoft OSes/applications. If you type a MSKB article 6 digit ID
  3842. number (Qnnnnnn or nnnnnn) in the Subject area, you'll receive an automated
  3843. message including that specific article.
  3844. This e-mail topic suggested by The Captain.
  3845. Example: to get a copy of the MSKB article Q120822 in e-mail, type Q120822 in
  3846. the Subject field. You can also find this article online as a web page (MSKB
  3847. WWW):
  3848. http://support.microsoft.com/support/kb/articles/q120/8/22.asp
  3849. or as a text file (MSKB FTP):
  3850. ftp://ftp.microsoft.com/Peropsys/WIN95/KB/Q120/8/22.TXT
  3851. The MSHelp support page has all necessary instructions on how to receive MSKB
  3852. articles by e-mail:
  3853. http://support.microsoft.com/support/kb/articles/q183/1/21.asp
  3854. 2. Point your web browser (requires a cookie enabled browser) to go to:
  3855. http://www.microsoft.com/isapi/goregwiz.asp?target=/regwiz/forms/pic.asp
  3856. and subscribe (free) to the Microsoft e-mail based Newsletters of your choice.
  3857. Done. Gee... so many choices, so little time... :)
  3858.  
  3859.  
  3860.  
  3861. RESTRICTED ACCESS
  3862.  
  3863.  
  3864.  
  3865. If you work/"play" in a multiuser computing environment, and you are the
  3866. owner, system administrator and/or main user of your Windows/WfWG 3.1x
  3867. computer, there are a few things you can do to make sure others can't "mess"
  3868. with vital (critical) system settings, and/or if you want to keep your custom
  3869. configuration intact.
  3870. Open PROGMAN.INI (located in your Windows/WfWG directory) with Notepad, and
  3871. add/modify the following lines, under the [Restrictions] section (create it
  3872. if not present):
  3873.  
  3874. [Restrictions]
  3875. ; Disables the Run command from the File menu:
  3876. NoRun=1
  3877. ; Disables the Close/Exit Windows command from the File menu:
  3878. NoClose=1
  3879. ; Disables the Save Settings command from the Options menu:
  3880. NoSaveSettings=1
  3881. ; Removes the File menu from Program Manager:
  3882. NoFileMenu=1
  3883. ; EditLevel=n prevents users from changing program items/groups/information
  3884. ; (n = 0 - 4):
  3885. ; 1 = prevents users from creating, deleting or renaming program groups, and
  3886. ; disables the Copy, Delete, Move and New commands from the program groups
  3887. ; File menu (grayed out).
  3888. ; 2 = additional to EditLevel=1 restrictions prevents users from creating,
  3889. ; deleting or renaming program items/icons, and disables the Copy, Delete,
  3890. ; Move and New commands from the File menu (grayed out).
  3891. ; 3 = additional to EditLevel=2 restrictions prevents users from changing
  3892. ; command lines for program items, and disables the Command Line box from the
  3893. ; Properties dialog box (grayed out).
  3894. ; 4 = additional to EditLevel=3 restrictions prevents users from changing ANY
  3895. ; program item information, and disables completely the Properties dialog box
  3896. ; (grayed out).
  3897. ; Replace n with an integer number from 0 to 4 for desired security level
  3898. ; (level 0 is Windows default = NO security):
  3899. EditLevel=n
  3900.  
  3901. All lines preceded by a semicolon (;) are comments.
  3902. Save the file and exit Notepad, but make a backup copy of your original
  3903. PROGMAN.INI first.
  3904. Alternatively, you can modify the attributes of important system files in your
  3905. Windows/WfWG directory to read-only, so casual users won't be able to modify
  3906. them. Example:
  3907. ATTRIB +R C:\WINDOWS\PROGMAN.INI
  3908. Other Windows/WfWG system files you can make "read-only" for security purposes
  3909. are all other .INI files, all .GRP files and REG.DAT, all residing in your
  3910. Windows/WfWG directory.
  3911. Save your work when done and restart Windows/WfWG.
  3912.  
  3913. WARNINGS:
  3914. 1. Beware that you will NOT be able to install, uninstall or even run
  3915. applications that write to these files anymore, IF they are write-protected!
  3916. 2. By restricting access to certain system settings/features you may find
  3917. yourself LOCKED OUT of your system!
  3918.  
  3919. TIP: For more restriction settings read "STUBBORN CONTROL PANEL APPLET" and
  3920. "LOCK UP THE DOS BOX", both in MYTIPS31.TXT (this file).
  3921.  
  3922.  
  3923.  
  3924. HIDDEN DIRECTORY [+]
  3925.  
  3926.  
  3927.  
  3928. ... Thanks to Anthony Martin (inertia186@earthlink.net):
  3929. http://move.to/port80/
  3930.  
  3931. "My tip is how to make a directory that most versions of Windows have trouble
  3932. opening (useful for security purposes though).
  3933. When creating a directory, give it a name, and add 0255 to the name (these are
  3934. ASCII characters), by holding down the Alt key and punching those numbers on
  3935. the keypad. When you hit Enter, the name will look something like "MYDIR_"
  3936. (without quotes). If you (double)-click that new directory, you'll get an
  3937. error message.
  3938. An added feature is that DOS is able to access this directory with no trouble.
  3939. I've found no version of Windows 95 that can address this type of directory,
  3940. but there are versions of Windows 98 that can. I have not tried this with
  3941. WinNT."
  3942. UPDATES:
  3943. 1. "You can hide a directory or file in Windows ONLY IF you rename the
  3944. directory/file at the DOS prompt (not neccessarily in native MS-DOS mode). To
  3945. hide a file, modify its extension by pressing Alt and typing 0255."
  3946. This update courtesy of Ali Ezzahir (ezzahir@sprint.ca).
  3947. 2. To create a hidden directory in DOS: type MD (short for MKDIR, which stands
  3948. for MaKeDIRectory), type a space, then type the desired name (a maximum of 7
  3949. characters if doing this from the native MS-DOS), and then hold down Alt, type
  3950. 0255 (on the keypad), then release the Alt key. Finally press Enter.
  3951. The only way to access/remove such a hidden directory is from DOS!
  3952. To remove a hidden directory: type RD (short for REMDIR, which stands for
  3953. REMoveDIRectory), type a space, then type your directory name, and then hold
  3954. down Alt, type 0255 (on the keypad), then release the Alt key. Finally press
  3955. Enter.
  3956. To change to a hidden directory: type CD (short for CHDIR, stands for
  3957. CHangeDIRectory), type a space, then type your directory name, and then hold
  3958. down Alt, type 0255 (on the keypad), then release the Alt key. Finally press
  3959. Enter.
  3960. 3. "This trick doesn't work from within the GUI in Windows 95B OSR 2.1. You
  3961. need to do it from DOS (DOS box OK). Works anywhere in a file/directory name.
  3962. Typing Alt+0255 will display as an underscore ( ) in Windows or a space ( ) in
  3963. DOS."
  3964. This update courtesy of Robert Pendell (pensoft@yahoo.com).
  3965.  
  3966.  
  3967.  
  3968. BLUE (OR ANY OTHER COLOR) SCREEN OF DEATH
  3969.  
  3970.  
  3971.  
  3972. Have you ever had the "privilege" of "admiring" the dreaded BSOD (Blue Screen
  3973. Of Death):
  3974. http://webopedia.internet.com/TERM/b/blue_screen_of_death.html
  3975. one of Microsoft Windows' most "treasured features"? :)
  3976. Well, if you haven't you're VERY lucky!
  3977. But for those who have (and this might include YOU, one dark, cloudy day),
  3978. here are a few pointers.
  3979. The "birth" of the BSOD goes way back, being introduced in the early days of
  3980. Microsoft Windows 3.0 (and possibly even earlier). It has been "spotted" on
  3981. ALL incarnations of MS Windows Environment/OS, including MS Windows/WfWG 3.xx,
  3982. Windows 9x, NT, and even the newer Windows 2000 (formerly known as Windows NT
  3983. 5.0) releases.
  3984. Whenever the BSOD pops up, it's baaaad news. :(
  3985. In most cases, returning to the Operating System (Windows GUI) is not possible
  3986. ("fatal error"), and a reboot is the only way to "recover" your computer from
  3987. an imminent disaster. Usually a classic "three-finger-salute" (Ctrl-Alt-Del)
  3988. keypress "combo" (a.k.a. "warm reboot") will save the day, but sometimes a
  3989. "cold reboot" (hitting your computer's Reset button) is required.
  3990. In the few cases the BSOD indicates a "non-fatal error", you MAY be able to
  3991. return to the Windows GUI, but those situations are considered "rara avis"
  3992. nowadays. :(
  3993. "Lucky" Windows/WfWG 3.xx users can bring up the BSOD "at will" by pressing
  3994. Ctrl-Alt-Del simultaneously.
  3995. Windows 9x/NT/2000/ME users don't have this "privilege", being able to "enjoy"
  3996. the BSOD only if certain system conflicts/errors occur... Or try this one, if
  3997. you really, REALLY want to see how the BSOD looks like on your shiny Windows
  3998. 9x "speed demon":
  3999. 1. Pop in an empty formatted floppy into your A drive.
  4000. 2. Copy a non-essential file to disk A.
  4001. 3. Hit the floppy eject button while the LED is still on.
  4002. 4. Voila... here comes your "eagerly awaited" BSOD!
  4003. 5. Enjoy. :) [But do NOT complain IF YOUR COMPUTER JUST CRASHED!]
  4004. This other "funny" BSOD pop up method was suggested by Michael Chand
  4005. (parisoffice@lycosmail.com):
  4006. "Edit the SYSTEM.INI file, located in your Windows directory. Under the
  4007. [boot] section, change the line shell=explorer.exe to read shell= (leave it
  4008. blank). Now, when you restart Windows, it will appear to load normally, then
  4009. it will display the BSOD, saying some error has occured and that "You MUST
  4010. reinstall Windows". Of course, to fix it, just restore the old
  4011. shell=explorer.exe line.
  4012. Though you will have to boot to MS-DOS to change it: press F8 at the
  4013. "Starting Windows 95 (98)" screen. From the C:\> prompt, edit SYSTEM.INI
  4014. using EDIT.COM, by running:
  4015. EDIT C:\WINDOWS\SYSTEM.INI
  4016. Save the file, exit the editor, and then start Windows by running WIN."
  4017. Besides downloading and installing all the "latest" upgrades, patches, fixes,
  4018. drivers etc... for your MS Windows version and particular hardware devices,
  4019. there is not much you can do to avoid random system crashes (a.k.a. BSODs).
  4020. But there IS something else you can do: you CAN change the BSOD colors! ;-)
  4021. Sounds like fun? Then keep reading...
  4022. Open SYSTEM.INI (Windows SYSTEM INItialization file), a plain text file
  4023. residing in your Windows directory, with Notepad or Sysedit (in Windows), or
  4024. EDIT.COM (in DOS), and add/modify the following lines under the [386enh]
  4025. section (example):
  4026. MessageBackColor=8
  4027. MessageTextColor=C
  4028. In this case BSOD will display bright red characters on a dark gray
  4029. background. You can give them ANY value from the table below.
  4030. You need to restart Windows after making ANY changes to your System.ini, so
  4031. the new settings can take "charge".
  4032. Default BSOD colors are blue (1) for background and bright white (F) for
  4033. foreground no matter the Windows version.
  4034. There are a total of 16 available colors: 0 to 9, followed by A to F
  4035. (hexadecimal values), representing standard VGA color attributes:
  4036. 0 = black
  4037. 1 = blue
  4038. 2 = green
  4039. 3 = cyan
  4040. 4 = red
  4041. 5 = magenta
  4042. 6 = yellow/brown
  4043. 7 = white
  4044. 8 = gray
  4045. 9 = bright blue
  4046. A = bright green
  4047. B = bright cyan
  4048. C = bright red
  4049. D = bright magenta
  4050. E = bright yellow
  4051. F = bright white
  4052. Colors 0 - 8 are usually used for background (screen color), and 9 - F for
  4053. foreground (character color). You can use ANY color on this list for either
  4054. background or foreground, BUT bright colors will show as dark colors if used
  4055. on the background.
  4056. UPDATES:
  4057. 1. If you want to do this the "easy way", get the BSOD Properties tool [230
  4058. KB, freeware]:
  4059. http://pla-netx.com/linebackn/news/bsod.html
  4060. which allows changing BSOD colors from a neat graphic interface.
  4061. 2. Check out the "Color Values for MessageBackColor and MessageTextColor
  4062. Setting" MSKB article:
  4063. http://support.microsoft.com/support/kb/articles/q90/7/40.asp
  4064. Have fun!
  4065.  
  4066.  
  4067.  
  4068. LOCK UP THE DOS BOX
  4069.  
  4070.  
  4071.  
  4072. If you don't use any MS-DOS based applications or games from within a
  4073. Windows/WfWG 9x/3.xx DOS box/session, and/or would like to prevent all other
  4074. users that have access to your computer from running such programs for
  4075. security reasons, take a look at these simple ways of locking up all DOS
  4076. sessions.
  4077.  
  4078. 1. Add this line at the end of your Autoexec.bat file:
  4079. C:\WINDOWS\WIN.COM %1 %2 %3 > NUL
  4080. if you prefer to start Windows from Autoexec.bat.
  4081. In these examples I presumed you have Windows/WfWG installed in C:\Windows.
  4082.  
  4083. 2. To run all your batch file (.BAT) commands in "stealth" mode (invisible),
  4084. by redirecting all standard on-screen messages from the display device (CON)
  4085. to NUL, add this command as the first line (this is also recommended for
  4086. Autoexec.bat):
  4087. @CTTY NUL
  4088. Then add this as the last line into your batch files (and in Autoexec.bat) to
  4089. restore the output to the CONsole:
  4090. CTTY CON
  4091. This line is mandatory for making the MS-DOS prompt visible again, and this
  4092. affects all DOS based programs that issue on-screen messages during operation.
  4093.  
  4094. 3. Create a DOS batch file using Notepad in Windows or EDIT.COM in DOS
  4095. containing this single line:
  4096. @C:\WINDOWS\WIN.COM %1 %2 %3 > NUL
  4097. call it WIN.BAT, and place it in the root directory of your boot drive,
  4098. usually C:\.
  4099. For added security, you can write protect it (make it read-only), so casual
  4100. users won't be able to modify it (but this won't stop advanced users who know
  4101. their way around), by typing this command and pressing Enter from any DOS
  4102. prompt:
  4103. ATTRIB +R C:\WIN.BAT
  4104. By running WIN.BAT, the entire screen (CONsole = display) output from WIN.COM
  4105. will be redirected to the NUL device, which makes it invisible every time one
  4106. tries to shell out to a DOS box/session/window, even full screen.
  4107. It is known that a batch file with the name WIN.BAT is run BEFORE the Windows
  4108. WIN.COM executable if such a file exists in C:\ root, which is valid for ALL
  4109. MS-DOS executables: .COM and .EXE.
  4110.  
  4111. 4. For added protection you can use BAT2EXEC.COM, a PC Magazine DOS tool [34
  4112. KB, free]:
  4113. http://wcarchive.cdrom.com/pub/simtelnet/msdos/batchutl/bat2ex15.zip
  4114. to convert any batch (.BAT) file to a .COM (binary) executable bearing the
  4115. same name, for faster execution, and/or to hide the purpose of your converted
  4116. batch.
  4117. Example: to convert WIN.BAT (see above) to WIN.COM, just run:
  4118. BAT2EXEC WIN.BAT
  4119. from the same directory. Then place the new WIN.COM into C:\ root.
  4120.  
  4121. 5. Now modify the PATH line in your Autoexec.bat or Config.sys (the latter is
  4122. a feature supported only by MS-DOS 6.00 and newer) to start with C:\; instead
  4123. of C:\DOS; (MS-DOS 6.xx and Windows/WfWG 3.xx users) or C:\WINDOWS; (Windows
  4124. 9x users). Note that you need to type a semicolon (;) at the end of EACH
  4125. directory listed on your PATH line, so MS-DOS/MS Win9x can process it
  4126. correctly. Examples of modified PATH lines in Config.sys:
  4127. - Windows 9x [a.k.a. MS-DOS 7.xx]:
  4128. SET PATH=C:\;C:\WINDOWS;C:\WINDOWS\COMMAND;etc...
  4129. - Windows/WfWG 3.xx [+ MS-DOS 6.xx]:
  4130. SET PATH=C:\;C:\DOS;C:\WINDOWS;etc...
  4131. Edit your startup files using Notepad in Windows or EDIT.COM in DOS. Save your
  4132. work and reboot when done.
  4133. From now on whenever one types WIN and hits Enter from the native MS-DOS this
  4134. starts WIN.BAT from C:\ root, instead the Windows/WfWG 9x/3.xx executable
  4135. (WIN.COM) located in C:\Windows (default).
  4136. LIMITATION:
  4137. DOS programs that use a graphical interface can still be run this way, ONLY IF
  4138. one knows the executable filename and its location. Therefore keep such
  4139. apps/games directories out of your PATH to minimize this risk.
  4140.  
  4141. 6. Moreover, you can make the entire DOS prompt disappear, both in
  4142. real/native/true MS-DOS mode and/or in Windows DOS boxes/sessions.
  4143. For this you need to start by adding a line to your Config.sys for the ANSI
  4144. console device driver, included with all MS-DOS and MS Windows releases
  4145. begining with MS-DOS 5.0 and Windows 3.0 (example):
  4146. - Windows 9x users:
  4147. DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS /X
  4148. - MS-DOS 6.xx users:
  4149. DEVICEHIGH=C:\DOS\ANSI.SYS /X
  4150. I presumed that you want to load ANSI.SYS in Upper Memory Area (UMA) in order
  4151. to preserve conventional RAM for other DOS programs/games (if using any).
  4152. This is possible only by loading a memory manager like EMM386.EXE, QEMM,
  4153. NetRoom, 386MAX, UMBPCI.SYS etc in your Config.sys file. All DEVICE,
  4154. DEVICEHIGH, INSTALL and/or INSTALLHIGH lines (if any) MUST follow the memory
  4155. manager line(s) in Config.sys for proper operation.
  4156. In this example MS EMM386 provides upper and expanded memory:
  4157. - For MS Windows 9x:
  4158. DEVICE=C:\WINDOWS\EMM386.EXE I=B000-B7FF D=256 RAM AUTO
  4159. - For MS-DOS 6.xx:
  4160. DEVICE=C:\DOS\EMM386.EXE I=B000-B7FF D=256 RAM AUTO
  4161. Change the path if different on your computer.
  4162. Now add/modify your SET PROMPT= and SET WINPMT= lines in Autoexec.bat or
  4163. Config.sys (the latter supports SET <VARIABLE> commands only in MS-DOS 6.00
  4164. and newer) to read something like this (example):
  4165. SET PROMPT=Real MS-DOS mode!$_$P$G
  4166. SET WINPMT=Windows DOS box!$_$P$G
  4167. The first line is what you'll see as prompt message at the plain real/native
  4168. MS-DOS mode, and the second takes care of the Windows DOS session/box prompt.
  4169. This is possible by using the ANSI.SYS ACSII escape sequencies to force the
  4170. background (screen) color to black (30) and the foreground (text) color also
  4171. to black (40), thus making all text output unreadable.
  4172. The Esc character () can be typed only in EDIT.COM, because Notepad does not
  4173. support extended ASCII characters: hold down the Ctrl key and then tap
  4174. simultaneously P and Esc until you see a left arrow.
  4175. Save your work and reboot when done so the new prompts can take effect.
  4176.  
  4177. 7. Windows/WfWG 3.xx ONLY: read "RESTRICTED ACCESS" in MYTIPS31.TXT (this
  4178. file), to learn how to modify your PROGMAN.INI settings to disable completely
  4179. ALL MS-DOS Prompt modes/sessions (and more).
  4180. Voila. :)
  4181.  
  4182.  
  4183.  
  4184. RESTORE CORRUPTED REG.DAT
  4185.  
  4186.  
  4187.  
  4188. The Windows/WfWG 3.1x REGistration DATabase (REG.DAT) is a binary,
  4189. write-protected (read-only) file, located in your Windows/WfWG directory
  4190. (default is C:\WINDOWS), and contains VITAL information for Windows/WfWG GUI
  4191. PROPER operation.
  4192. REG.DAT can be edited by running:
  4193. REGEDIT /V
  4194. but this is NOT recommended, if you don't know EXACTLY what you are doing!
  4195. Windows/WfWG looks for CRUCIAL System, Software and User settings in this file
  4196. upon GUI (Graphical User Interface) startup.
  4197. REG.DAT is updated using current System/Software/User settings every time
  4198. Windows/WfWG starts.
  4199. At some point REG.DAT may become corrupted, preventing Windows/WfWG from
  4200. operating properly, or in certain situations it may even prevent the GUI from
  4201. loading!
  4202. If Windows loads, you may see one or more of these error messages at startup,
  4203. or when trying to run a specific application that stores its information in
  4204. the Registration Database:
  4205. "Program (File) Manager cannot open/print specified file."
  4206. "Start the application used to create this file, and open/print it from
  4207. there."
  4208. "There is no application associated with this file. Choose Associate from the
  4209. File menu to create an association."
  4210. "There is a problem with REG.DAT. Delete REG.DAT and restart Windows."
  4211. "Setup has a problem with REG.DAT/SHELL.DLL/disk space."
  4212. "Windows registration database (program) is not valid."
  4213. "OLE server initialization failed."
  4214. No need to panic though... :-) There are several ways of rebuilding a
  4215. corrupted REG.DAT file.
  4216. Here we go:
  4217. 1. Start by deleting REG.DAT, but ONLY AFTER BACKING IT UP FIRST!
  4218. 2. Then exit and restart Windows/WfWG. A new REG.DAT will be created (using
  4219. built-in default settings), BUT some Software and/or User settings might get
  4220. lost. :(
  4221. 3. In this case, run File Manager -> highlight REG.DAT (found in your
  4222. Windows/WfWG directory) -> click the File menu -> select Associate ->
  4223. associate it with REGEDIT.EXE. This will associate ALL your .DAT files with
  4224. REGEDIT, merging (registering) the information they contain into REG.DAT,
  4225. whenever you double-click on them.
  4226. Repeat this operation for your .REG files, ONLY IF they are not already
  4227. associated with REGEDIT.EXE, which is the Win31 default.
  4228. 4. Now find ALL .REG files present in your Windows directory and ALL its
  4229. subdirectories (including Windows\System), using File Manager's File -> Search
  4230. menu. Double-click on ALL of them to restore ALL previous (default) settings,
  4231. including default file associations and OLE/DDE information.
  4232. 5. Click the Program Manager or File Manager File menu -> select the Run box
  4233. -> type:
  4234. REGEDIT /U C:\WINDOWS\SYSTEM\SETUP.REG
  4235. and finally click OK or press Enter.
  4236. This works presuming you installed Windows/WfWG in C:\WINDOWS. Change the
  4237. drive letter and/or directory name to match yours if different.
  4238. 6. Windows programs that register themselves only during installation may have
  4239. lost their default associations when REG.DAT became corrupted. To restore,
  4240. search their directories for existing .REG files, and double-click on them.
  4241. Example: if you have previously installed Microsoft Word 16-bit v2.0 for
  4242. Windows/WfWG 3.1x, double-click on WW20.REG, located in the MS Word directory.
  4243. Other applications may require additional steps to properly register. Refer to
  4244. their manuals/documents/help files (.HLP, .DOC, .TXT, .WRI etc) for help.
  4245. To have Media Player (C:\Windows\Mplayer.exe) play once and then close any
  4246. registered media clip (cd/audio, video/mpeg, animation/3d etc) file, follow
  4247. the steps detailed in "MEDIA PLAYER" from MYTIPS31.TXT (this file).
  4248. 7. Also, make sure your WIN.INI's [Extensions] and [Embedding] sections are
  4249. intact, because Windows/WfWG reads that information upon loading and merges it
  4250. into REG.DAT. WIN.INI resides also in your Windows/WfWG directory, and can be
  4251. viewed/edited with Notepad or Sysedit in Windows or EDIT.COM in DOS.
  4252. 8. Exit Windows/WfWG when done and then restart it.
  4253. 9. Now everything should be back to "normal". :)
  4254. Ultimately, the best bet is to have a RECENT FULL Windows/WfWG BACKUP COPY to
  4255. restore your corrupted files from.
  4256.  
  4257.  
  4258.  
  4259. BYPASS SAVER PASSWORD
  4260.  
  4261.  
  4262.  
  4263. This tip applies ONLY to 16-bit (Win16) Screen Savers written for Windows/WfWG
  4264. 3.xx, and to 32-bit (Win32) Screen Savers that run on Win31 systems ONLY with
  4265. Microsoft Win32s 32-bit Extensions Add-on v1.30c installed [2.4 MB, free]:
  4266. ftp://ftp.microsoft.com/softlib/mslfiles/PW1118.EXE
  4267. but most of them can be used also on Windows 9x systems.
  4268. In case you have forgotten one of your Screen Saver (SS) password(s), you can
  4269. easily regain control by deleting it (them) from CONTROL.INI.
  4270. Edit your CONTROL.INI file (located in your Windows directory) with Notepad
  4271. (but back it up first!), and scroll down to the "incriminated" SS section,
  4272. displayed in square parenthesis.
  4273. A typical SS CONTROL.INI section looks something like this:
  4274. [Screen Saver.SSName]
  4275. Just substitute the SSName string above with your actual Screen Saver name,
  4276. and change one (or both) of these lines (depending on your particular SS
  4277. settings) under the SS section of your choice:
  4278. Password=#@$%&    [or any other weird characters = encrypted password]
  4279. and/or:
  4280. PWProtected=1    [password protection ON]
  4281. to read:
  4282. Password=    [leave it blank = NO password]
  4283. and/or:
  4284. PWProtected=0    [password protection OFF]
  4285. Alternatively, if you'd like to get rid of a particular SS, just open
  4286. Explorer (Win9x users) or File Manager (Win31 users) and search for the .SCR
  4287. files, located by default in your Windows or Windows\System directories.
  4288. Now delete (or move to a safe location) the .SCR file(s) you want.
  4289. Some 3rd party Savers install other files in these (see above), and/or other
  4290. (separate) directories, so you may want to erase/move them too, to properly
  4291. remove them from your system, and keep your hard drive(s) as "clean" as
  4292. possible.
  4293. If a particular SS allows it, you can also (completely) remove it by:
  4294. - Windows 9x users: using your Control Panel "Add/Remove Programs" applet;
  4295. - Windows/WfWG 3.xx users: running your provided SS "Uninstall" Program
  4296. Manager icon (if available).
  4297.  
  4298.  
  4299.  
  4300. 9X/2000/NT/ME/XP/3.1X MULTIBOOT SWAP FILE
  4301.  
  4302.  
  4303.  
  4304. If you use and multi-boot among different versions of Microsoft Windows, which
  4305. include: Windows NT/2000/XP, Windows 95/98/ME and/or Windows/WfWG 3.10/3.11,
  4306. you are probably wasting a ton of disk space, because each of these Windows
  4307. releases uses different names and locations for their swap file:
  4308. - Windows NT/2000/XP uses PAGEFILE.SYS as its permanent page file, located by
  4309. default in your WinNT/2000/XP drive/partition root folder.
  4310. - Windows 95/98/ME uses WIN386.SWP as its permanent swap file, located by
  4311. default in your Win9x/ME folder.
  4312. - Windows/WfWG 3.xx uses 386SPART.PAR as its permanent swap file, located by
  4313. default in C:\ root, or WIN386.SWP as its temporary swap file, located by
  4314. default in your Win31 directory.
  4315. But there is a way to overcome this "annoyance", and force ALL MS Windows
  4316. versions on your computer to share the SAME FIXED page/swap file.
  4317. Just follow these steps:
  4318. 1. In Windows NT/2000/XP: start Control Panel -> System -> Performance ->
  4319. Virtual Memory -> Specify Pagefile settings -> select IDENTICAL Maximum and
  4320. Minimum sizes, and change its location to point to your fastest FAT16
  4321. drive/partition.
  4322. You can also do this by modifying the Registry. Run Regedt32 and go to:
  4323. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management
  4324. Look (or create if not present) in the right hand pane for the "PagingFiles"
  4325. MultiString Value [REG_MULTI_SZ]. Edit it with a right-click, and give it
  4326. these values: 80 80 to match the ones from Windows 9x/ME/3.1x System.ini (see
  4327. example below).
  4328. 2. Reboot into Windows 9x/ME.
  4329. 3. In Windows 9x/ME: start Control Panel -> System -> Performance -> Virtual
  4330. Memory -> check the "Let me specify my own virtual memory settings" box ->
  4331. select the SAME IDENTICAL Maximum and Minimum sizes as you did in
  4332. WinNT/2000/XP, and change the swap file location to the SAME FAT16
  4333. disk/partition you selected for WinNT/2000/XP.
  4334. Don't reboot Windows 9x/ME when prompted! Click No or press Esc at the prompt
  4335. dialog box.
  4336. 4. Open the Windows 9x/ME SYSTEM.INI file (located in your Windows folder)
  4337. with Notepad -> scroll down to the [386enh] section -> make sure ALL lines
  4338. listed below are present:
  4339.  
  4340. PagingFile=X:\PAGEFILE.SYS
  4341. PagingDrive=X:
  4342. MinPagingFileSize=xxxxxx
  4343. MaxPagingFileSize=xxxxxx
  4344.  
  4345. Where X: is the drive/partition letter you selected for the Win9x/ME swap
  4346. file, and xxxxxx represents both the Maximum and Minimum sizes (which should
  4347. be IDENTICAL) of PAGEFILE.SYS in KiloBytes.
  4348. Modify/add them to show actual values, depending on your system configuration
  4349. and preferences. Example using drive E: and an 80 MB fixed swap file:
  4350.  
  4351. PagingFile=E:\PAGEFILE.SYS
  4352. PagingDrive=E:
  4353. MinPagingFileSize=81920
  4354. MaxPagingFileSize=81920
  4355.  
  4356. Now highlight and copy all these lines to the Clipboard.
  4357. 5. Then open the Windows/WfWG 3.xx SYSTEM.INI file (located in your Win31
  4358. directory) with Notepad -> scroll down to the [386enh] section -> delete ALL
  4359. lines listed above (you might not have them all, depending on your particular
  4360. Win31 swap file settings) -> paste the lines you copied from the Windows
  4361. 9x/ME SYSTEM.INI.
  4362. 6. Reboot one more time into the Windows version of your choice.
  4363. 7. Delete ALL unused (obsolete) swap files from ALL your drives/partitions:
  4364. WIN386.SWP, 386SPART.PAR etc.
  4365. 8. Done.
  4366.  
  4367. NOTES:
  4368. - Do NOT place the common swap file on a FAT32 or NTFS drive/partition! It
  4369. won't be recognized by Windows releases other than the one you set it up on,
  4370. because Win31 doesn't support FAT32/NTFS, Win9x/ME do not support NTFS, and
  4371. WinNT doesn't support FAT32! Win2000/XP are the ONLY Microsoft OSes (to date)
  4372. that support ALL these file systems.
  4373. - Read "SWAP FILE" in MYTIPS31.TXT (this file) for details on dual-booting
  4374. Win9x/ME and Win31 using the same swap file.
  4375. - Read these topics: "SWAP FILE - Part 2" in MYTIPS95.TXT [part of
  4376. W95-11D.ZIP]:
  4377. http://members.aol.com/axcel216/95.htm
  4378. and "FIXED SWAP FILE" in MYTIPS31.TXT (this file) for details on optimizing
  4379. your Windows swap file.
  4380. - MS Win2000: "Change the size of the virtual memory paging file":
  4381. http://www.microsoft.com/windows2000/en/server/help/sysdm_advancd_perform_change_vmpagefile.htm
  4382. - MS Win2000: "Multibooting with Windows 2000 and Windows XP":
  4383. http://www.microsoft.com/windows2000/techinfo/administration/management/mltiboot.asp
  4384. - MSKB: "Multi-Boot Windows 2000/NT, Windows 95/98/ME + MS-DOS":
  4385. http://support.microsoft.com/support/kb/articles/q217/2/10.asp
  4386.  
  4387.  
  4388.  
  4389. IE BLANK PAGE OFF
  4390.  
  4391.  
  4392.  
  4393. If using Microsoft Internet Explorer 16-bit for Windows/WfWG 3.1x to browse
  4394. the web, you may want to try this tip.
  4395. I got bored with the default Microsoft Internet Explorer blank page that pops
  4396. up every time I try to access a web page that doesn't exist anymore due to an
  4397. invalid link, or if the connection is broken because of a (temporary)
  4398. server/network downtime.
  4399. The MS IE default blank page exists as BLANK.HTM in C:\Windows\System.
  4400. But you can make it go away, or change it to something else, a little more
  4401. pleasurable to the eye.
  4402. NOTE: This should work with all MS IE releases.
  4403. To make BLANK.HTM disappear automatically, open it with Notepad, and modify
  4404. it so it looks like this:
  4405.  
  4406. -----Begin cut & paste here-----
  4407. <html>
  4408. <head>
  4409. <title>Microsoft Internet Explorer</title>
  4410. </head>
  4411. <body>
  4412. <script language="JavaScript">
  4413. window.close("blank.htm", "Microsoft Internet Explorer")
  4414. </script>
  4415. </body>
  4416. </html>
  4417. ------End cut & paste here------
  4418.  
  4419. JavaScript MUST be enabled in IE for this to work.
  4420. Or try this one:
  4421.  
  4422. -----Begin cut & paste here-----
  4423. <html>
  4424. <head>
  4425. <title>1st Pic</title>
  4426. </head>
  4427. <body>
  4428. <center>
  4429. <img src="file:///C|/pics/1stpic.jpg" border=0>
  4430. </center>
  4431. </body>
  4432. </html>
  4433. ------End cut & paste here------
  4434.  
  4435. to force MS IE to load a simple web page which displays a cool JPG.
  4436. Note that 1stpic.jpg resides in this case in C:\Pics.
  4437. You can modify the page title/layout, JPG filename/path to your liking, or
  4438. replace it with your favorite GIF.
  4439. Save your file, exit Notepad, and then start IE.
  4440.  
  4441.  
  4442.  
  4443. DETECT WINDOWS [+]
  4444.  
  4445.  
  4446.  
  4447. 1. This cool undocumented batch trick appears courtesy of Pawel Stolowski
  4448. (yogin@polbox.com).
  4449.  
  4450. "This technique detects the presence of Windows in a DOS batch (.BAT) file,
  4451. useful for preventing crashes, if your batch file needs to run ONLY from
  4452. native MS-DOS, or ONLY from a Windows DOS box/session (example):
  4453.  
  4454. @ECHO OFF
  4455. MEM/C | FIND/I "win386">NUL
  4456. IF ERRORLEVEL 1 GOTO NO
  4457. IF ERRORLEVEL 0 GOTO OK
  4458. :OK
  4459. :: Your batch command lines go here...
  4460.  
  4461. GOTO END
  4462. :NO
  4463. ECHO Windows detected!
  4464. :END
  4465. EXIT
  4466.  
  4467. Save these lines as DETWIN.BAT, or place them in batch files before the lines
  4468. that depend on Windows presence/absence to run.
  4469. This batch file example continues to execute only from a DOS
  4470. box/prompt/session/window within Windows GUI, and aborts if Windows is not
  4471. running.
  4472. You can force this BAT example to work only from native/real/true/pure MS-DOS
  4473. mode outside Windows, and abort if Windows is running, by replacing all NO
  4474. instances above with OK (and vice versa)."
  4475.  
  4476. 2. Another BATch technique used to detect if Windows is running, also using
  4477. FIND.EXE errorlevels (single line):
  4478.  
  4479. SET | FIND "windir" | IF ERRORLEVEL 0 ECHO Windows detected!
  4480.  
  4481. Save line above as DETWIN.BAT (or any other .BAT name), place it in a
  4482. directory in your path (specified in your Autoexec.bat or Config.sys), or
  4483. paste it into batch files depending on Win31 GUI detection to run certain DOS
  4484. commands/programs selectively (i.e. temporary directory/file "cleaners" using
  4485. DELTREE, DEL, COPY, MOVE etc).
  4486.  
  4487. NOTES:
  4488. - Both MEM.EXE and FIND.EXE need to reside in a directory on your path
  4489. (default is C:\MSDOS for Win31 + MS-DOS 6.xx) for this to work.
  4490. - Run FIND/? , MEM/? (external DOS commands) and respectively SET/? (internal
  4491. DOS command) from any DOS prompt to learn how to use their command line
  4492. parameters.
  4493. - These techniques work ONLY with MS-DOS 6.00 or newer.
  4494. - Open BACKUP31.BAT and RESTOR31.BAT (both included) with Notepad in Windows
  4495. or EDIT.COM in DOS to see these and other similar batch techniques at work.
  4496.  
  4497.  
  4498.  
  4499. CUSTOM NETSCAPE THROBBER
  4500.  
  4501.  
  4502.  
  4503.  
  4504. Do this only if using a Netscape 3.0x/4.xx web browser in Windows/WfWG 3.1x.
  4505. Are you tired watching the same old spinning icon (called "throbber" or
  4506. "flying logo") in the right upper corner of your Netscape browser window until
  4507. a web page stops loading? If your answer is YES, read on...
  4508. You can easily replace it with a better looking one you can download from the
  4509. pages linked further below, or you can create your own using an animated GIF
  4510. editor/creator.
  4511. Usually these two files are called 30M.BMP (30x30 pixels) and 48M.BMP (48x48
  4512. pixels), and they are just animated GIFs converted to MS Windows bitmaps (.BMP
  4513. format). The number of colors can be anything between 256 and 16 million, but
  4514. pay attention that they may look ugly if you have set your Windows resolution
  4515. to only 256 colors and the logos are rendered for example at 16-bit (65,000
  4516. colors).
  4517. The frames that make up the animation must be lined up side by side
  4518. horizontally without spaces. You can cut & paste them together using any
  4519. graphic/image viewer/editor supporting BOTH the BMP and GIF formats. I prefer:
  4520. - XNView [freeware]:
  4521. http://perso.wanadoo.fr/pierre.g/indexgb.html
  4522. Both logos need to be placed in one of these Netscape subdirectories: \Program
  4523. (where you can find Netscape.exe) or \Users\UserID (substitute UserID with
  4524. your actual login name/ID, which usually coincides with your e-mail name).
  4525. This tweak applies to ALL Netscape Navigator/Communicator 3.0x/4.xx 32 and 16
  4526. bit web browser releases.
  4527. Necessary steps:
  4528. A.  Navigator 3.0x:
  4529. 1. Close all Netscape browser windows.
  4530. 2. Make sure to copy the two bitmaps to the proper destination (see above).
  4531. 3. Restart your browser and have fun.
  4532. B.  Navigator/Communicator 4.xx:
  4533. 1. Close all Netscape browser windows.
  4534. 2. Make sure the two bitmaps reside in the right place (see above).
  4535. 3. Open PREFS.JS in Notepad, a configuration text file residing in your
  4536. \Users\UserID subdirectory. Just substitute UserID with your real e-mail
  4537. name/login ID. Add these lines:
  4538.  
  4539. config("toolbar.logo.win_small_file", "30m.bmp");
  4540. config("toolbar.logo.win_large_file", "48m.bmp");
  4541. config("toolbar.logo.frames", 20);
  4542. config("toolbar.logo.url", "http://members.aol.com/axcel216/");
  4543.  
  4544. Replace the frames number above (20 in this case) with the actual number of
  4545. frames in your throbber, and the URL on line #4 with the Internet address of
  4546. your choice, which will load up whenever you click on the flying logo (default
  4547. is the Netscape web site). Save your file.
  4548. Note that Netscape 4.xx supports any names for its logos ONLY IF you match the
  4549. Prefs.js lines with your file names.
  4550. 4. Change the PREFS.JS file attributes to read-only, by running this command
  4551. line from any DOS prompt (example):
  4552.  
  4553. ATTRIB +R C:\NETSCAPE\USERS\USERID\PREFS.JS
  4554.  
  4555. If you don't do this, your custom throbber lines will be erased from Prefs.js
  4556. the next time you open the browser. :(
  4557. 5. Restart your browser and have fun.
  4558.  
  4559. Dedicated Netscape spinning logo pages:
  4560. - Leigh's Throbber Page:
  4561. http://www.geocities.com/Tokyo/6774/throbber.htm
  4562. - Throbber Automation Object:
  4563. http://www.io.com/~mrcoyote/throbbers/
  4564. - Throbb-It for Netscape:
  4565. http://www.geocities.com/SiliconValley/Peaks/2733/throbit/throbit.html
  4566. - Throbbers Web Ring:
  4567. http://N.webring.com/hub?ring=throbbers2
  4568.  
  4569. FYI:
  4570. - Customize your Netscape 4.xx settings by editing Prefs.js:
  4571. http://www.jedi.be/netscape/mirror/userprefs.html
  4572. - Netscape Communicator Preferences:
  4573. http://developer.netscape.com/docs/manuals/deploymt/jsprefs.htm
  4574.  
  4575.  
  4576.  
  4577. REPLACE SYSTEM FONT
  4578.  
  4579.  
  4580.  
  4581. There is a way to replace the default MS Sans Serif system font that appears
  4582. in text dialog boxes, pop up windows, Program Groups, Windows apps etc, and
  4583. that canNOT normally be changed. This is how to do it, step by step:
  4584. 1. Exit Windows to the native MS-DOS mode -> run the command below to move
  4585. the two MS Sans Serif font files (SSERIFE.FON and SSERIFF.FON) to another
  4586. directory (NOT in your path: I suggest C:\BACKUPS):
  4587. MOVE C:\WINDOWS\SYSTEM\SSERIF*.FON C:\BACKUPS
  4588. I used here the default Win31 drive letter and directory name: C:\WINDOWS.
  4589. Substitute them if different on your computer.
  4590. 2. Restart Windows by typing WIN and pressing Enter.
  4591. 3. Edit your WIN.INI file (located in your Windows directory) with Notepad or
  4592. Sysedit, but BACK IT UP FIRST!
  4593. Scroll down to the [FontSubstitutes] header, and add a new line right
  4594. underneath this section name (example):
  4595. MS Sans Serif=Arial
  4596. You can replace the Arial font here with ANY other font installed on your
  4597. system. There are two types of fonts you can use:
  4598. - .FON = raster/display/printer/Terminal/DOS box font (not scalable)
  4599. - .TTF = True Type Font (scalable)
  4600. To see the complete list of installed fonts: open Control Panel ->
  4601. (double)-click on the Fonts icon -> scroll down to the one you want ->
  4602. remember its name as shown there -> type its name into the new WIN.INI line
  4603. you just created above after the equal sign -> save your file.
  4604. 4. Restart Windows so the change can take effect.
  4605. 5. Have fun.
  4606.  
  4607.  
  4608.  
  4609. BACKUP MBR WITH DEBUG [+]
  4610.  
  4611.  
  4612.  
  4613. Another cool tip from... Da Drk Sde@aol.com. May Da Force B with U. :)
  4614.  
  4615. "BACKUP MBR:
  4616.  
  4617. For those not familiar with DEBUG, here is how to backup your boot hard disk
  4618. MBR (Master Boot Record) in case of disaster.
  4619. The MBR is present once on each physical drive, and is beyond the scope of the
  4620. MS-DOS filing system to address. That's why the proper way to backup/restore
  4621. the MBR is to use a BIOS int13 call to fetch it.
  4622. Go to any DOS prompt (real mode or windowed session, doesn't matter) and type:
  4623. DEBUG
  4624. This will start the debug mode, which has a prompt like a hyphen (-).
  4625. From now on hitting the Enter key is understood after each line.
  4626. Type:
  4627. N A:\MBR_C.DAT
  4628. to give Debug a filename to save data to.
  4629. IMPORTANT: Saving the MBR backup file to the same disk you're backing up makes
  4630. no sense, because that drive becomes inaccessible if its MBR gets corrupted.
  4631. Type:
  4632. A
  4633. to place Debug in assemble mode.
  4634. Type:
  4635. MOV DX,9000
  4636. to arbitrarily choose a memory segment for the BIOS to put the data we want.
  4637. Type:
  4638. MOV ES,DX
  4639. to move that value to the extra segment register.
  4640. Type:
  4641. XOR BX,BX
  4642. to clear the BX register. ES:BX specifies the full memory address.
  4643. Type:
  4644. MOV CX,0001
  4645. to access track 0 and sector 1.
  4646. Type:
  4647. MOV DX,0080
  4648. 1st physical drive is 80, 2nd drive is 81, and so on...
  4649. Type:
  4650. MOV AX,0201
  4651. to read [02]... one sector [01] into memory.
  4652. Type:
  4653. INT 13
  4654. to issue the BIOS int13 call.
  4655. Type:
  4656. INT 20
  4657. to tell the BIOS to terminate the program.
  4658. Now press the Enter key without entering anything after that to exit assemble
  4659. mode.
  4660. Type:
  4661. G
  4662. to execute the small assembly program you have just created.
  4663. Type:
  4664. R CX
  4665. to show the contents of CX register and to allow editing it.
  4666. Type:
  4667. 200
  4668. 200 hex = 512 decimal - the size of a sector.
  4669. Type:
  4670. W 9000:0
  4671. to finally write the data fetched by the BIOS to a file.
  4672. Type:
  4673. Q
  4674. to quit Debug.
  4675.  
  4676. RESTORE MBR:
  4677.  
  4678. In the event the MBR ever becomes corrupted, you can create a batch file (e.g.
  4679. RESTRMBR.BAT), which can use DEBUG commands echoed to a temporary file (e.g
  4680. DEBUG.TMP) by invoking DEBUG, which uses the temporary file as input file.
  4681. Copy/paste the lines below into Notepad or EDIT.COM, and save the file as
  4682. RESTRMBR.BAT. Then place RESTRMBR.BAT and DEBUG.EXE on the same floppy that
  4683. contains the MBR_C.DAT file created above (example):
  4684.  
  4685. -----Begin cut & paste here-----
  4686. ECHO N A:\MBR_C.DAT > DEBUG.TMP
  4687. ECHO L 9000:0 >> DEBUG.TMP
  4688. ECHO A >> DEBUG.TMP
  4689. ECHO MOV DX,9000 >> DEBUG.TMP
  4690. ECHO MOV ES,DX >> DEBUG.TMP
  4691. ECHO XOR BX,BX >> DEBUG.TMP
  4692. ECHO MOV CX,0001 >> DEBUG.TMP
  4693. REM Replace 80 with 81, 82 or 83... if necessary:
  4694. ECHO MOV DX,0080 >> DEBUG.TMP
  4695. REM To write one sector [01]... to drive [01]...:
  4696. ECHO MOV AX,0301 >> DEBUG.TMP
  4697. ECHO INT 13 >> DEBUG.TMP
  4698. ECHO INT 20 >> DEBUG.TMP
  4699. ECHO G >> DEBUG.TMP
  4700. ECHO Q >> DEBUG.TMP
  4701. ECHO. >> DEBUG.TMP
  4702. DEBUG < DEBUG.TMP
  4703. DEL DEBUG.TMP
  4704. ------End cut & paste here------
  4705.  
  4706. To restore the saved MBR from the floppy disk, just run RESTRMBR.BAT.
  4707. Incidentally DOS assigns drive letters by getting the primary partitions from
  4708. each physical drive out of the way first. So if you have two physical hard
  4709. disks, then D: would be the primary partition on the second HD, even though
  4710. you may have several other partitions on the first HD.
  4711.  
  4712. BACKUP DBR:
  4713.  
  4714. Use DEBUG to backup your DBR (DOS Boot Record), present at the start of all
  4715. logical drives/partitions, in case of disaster.
  4716. Go to any DOS prompt and type:
  4717. DEBUG
  4718. This will start the debug mode, which has a prompt like a hyphen (-).
  4719. From now on hitting the Enter key is understood after each line.
  4720. Now type:
  4721. LCS:100 2 0 1
  4722. This loads (reading from right to left) the boot sector starting at sector 0,
  4723. located on drive number 2 (your C: drive/partition), respecting this
  4724. convention:
  4725.  
  4726. Drive number    Drive letter
  4727. ----------------------------
  4728. 0        A:
  4729. 1        B:
  4730. 2        C:
  4731. 3        D:
  4732. ... and so on.
  4733.  
  4734. Then type:
  4735. N path\filename
  4736. to give DEBUG a name to call the file it will write the sector to (example):
  4737. N A:\DBR_C.DAT
  4738. IMPORTANT: Saving the DBR backup file to the same disk you're backing up makes
  4739. no sense, because that drive becomes inaccessible if its DBR gets corrupted.
  4740. Type:
  4741. RCX
  4742. Type:
  4743. 200
  4744. This loads register CX with a hex value of 200 (512 decimal), the exact size
  4745. of a standard sector, letting it know that 200h (512 dec) is the number of
  4746. bytes to save to file.
  4747. Type:
  4748. WCS:100
  4749. This writes the number of bytes contained in CX starting at current code
  4750. segment at offset 100 to the filename specified by the N command.
  4751.  
  4752. RESTORE DBR:
  4753.  
  4754. In the event the DBR ever becomes corrupted, you can create a batch file (e.g.
  4755. RESTRDBR.BAT), which can use DEBUG commands echoed to a temporary file (e.g
  4756. DEBUG.TMP) by invoking DEBUG, which uses the temporary file as input file.
  4757. Copy/paste the lines listed above under "RESTORE MBR:" (replace them as
  4758. necessary with the ones for the DBR file) into Notepad or EDIT.COM, and save
  4759. the file as RESTRDBR.BAT. Place RESTRDBR.BAT and DEBUG.EXE on the same floppy
  4760. that contains the DBR_C.DAT file created above, and then run RESTRDBR.BAT."
  4761.  
  4762. NOTE: This works ONLY with MS-DOS 6.00 - 6.22 and MS-DOS 7.xx/8.00 [a.k.a. MS
  4763. Windows 9x/ME].
  4764.  
  4765. FYI: Things you can do with DEBUG.EXE:
  4766. - DEBUG Assembly Tutorial:
  4767. http://www.datainstitute.com/debug1.htm
  4768. - Machine Language Programs and Debug:
  4769. http://www.ugf.edu/Compsci/Lmarshall/chptrsix.htm
  4770. - DEBUG Script to Clear Partition Sector of Hard Drive:
  4771. http://www.firmware.com/support/bios/hdclear.htm
  4772. - Batch files using DEBUG:
  4773. http://www.geocities.com/thestarman3/asm/mbr/BootToolsRefs.htm
  4774. - DEBUG Routines:
  4775. http://www.computerhope.com/rdebug.htm
  4776.  
  4777.  
  4778.  
  4779. REBOOT WITH DEBUG
  4780.  
  4781.  
  4782.  
  4783. This tip applies to ALL MS-DOS 6.xx users who want to reboot their PCs at the
  4784. touch of a single key, and can be achieved ONLY from the native/true/real
  4785. MS-DOS mode prompt, NOT from a Windows/WfWG 3.1x DOS session/box.
  4786. Necessary steps:
  4787.  
  4788. 1. The DEBUG.EXE file must be present somewhere in your path, specified by the
  4789. Config.sys "SET PATH=", or by the Autoexec.bat "PATH" statement. Typical
  4790. example:
  4791. SET PATH=C:\;C:\DOS;C:\WINDOWS;C:\STUFF;etc...
  4792. Default DEBUG.EXE location: in the C:\DOS directory.
  4793. Now create a DOS style BATch file (using Notepad in Windows or EDIT.COM in
  4794. DOS) to contain these lines (the DEBUG script is responsible for rebooting):
  4795. @ECHO OFF
  4796. C:\DOS\MEM.EXE/C | C:\DOS\FIND.EXE/I "win386">NUL
  4797. IF ERRORLEVEL 1 GOTO NO
  4798. IF ERRORLEVEL 0 GOTO OK
  4799. :OK
  4800. ECHO G=FFFF:0000 | C:\DOS\DEBUG.EXE
  4801. :NO
  4802. EXIT
  4803. Call it for example REBOOT.BAT, and place it in a directory in your path (see
  4804. above).
  4805. The other lines are necessary to have REBOOT.BAT detect whether you're in a
  4806. Windows DOS box/session (in which case the BATch will abort and return to
  4807. Windows GUI), or in native/true MS-DOS (in which case the BATch will proceed
  4808. rebooting your PC).
  4809.  
  4810. Alternatively you can use DEBUG.EXE to create a small (6 Bytes) COM(mand) file
  4811. I named BOOT.COM.
  4812. For convenience you can paste the contents of this BATch file into Notepad,
  4813. and save it as BOOTCOM.BAT (example):
  4814.  
  4815. -----Begin cut & paste here-----
  4816. @ECHO OFF
  4817. C:
  4818. CD\
  4819. ECHO N BOOT.COM >> BOOT.!
  4820. ECHO E 0100 48 50 53 CB 0D 0A >> BOOT.!
  4821. ECHO RCX >> BOOT.!
  4822. ECHO 0006 >> BOOT.!
  4823. ECHO W >> BOOT.!
  4824. ECHO Q >> BOOT.!
  4825. DEBUG < BOOT.!
  4826. DEL BOOT.!
  4827. EXIT
  4828. ------End cut & paste here------
  4829.  
  4830. Then just run BOOT (created in this example in C:\ root) from the
  4831. native/real/true MS-DOS mode to have your PC perform a "cold" reboot.
  4832.  
  4833. No matter which of these rebooting methods you are going to use, if using a
  4834. disk caching tool like MS SMARTDRV.EXE, it is VERY IMPORTANT to "flush" (dump)
  4835. the memory cache buffer contents to the hard disk before rebooting, otherwise
  4836. you may experience data loss! This is the necessary command line:
  4837.  
  4838. SMARTDRV/C
  4839.  
  4840. Place REBOOT.BAT into a directory listed in your PATH. To display your PATH
  4841. line, just run this command from any DOS prompt:
  4842.  
  4843. SET | MORE
  4844.  
  4845. 2. The ANSI.SYS driver (found by default in the same directories as DEBUG.EXE)
  4846. must be loaded from Config.sys. These examples use the default Microsoft
  4847. extended/upper/expanded memory managers to load the ANSI device "high":
  4848. DOS=HIGH,UMB
  4849. DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF /Q
  4850. DEVICE=C:\DOS\EMM386.EXE I=B000-B7FF RAM D=256 AUTO
  4851. DEVICEHIGH=C:\DOS\ANSI.SYS /X
  4852. To save extra conventional RAM (up to 629 KB!), and speed up your system's
  4853. overall performance, you can use UMBPCI.SYS, the best freeware upper memory
  4854. extender, compatible with most Pentium, Pentium Pro/II/III/IV/Celeron/Xeon,
  4855. AMD/Cyrix CPUs and motherboard chipsets. See the "Complete UMBPCI.SYS Guide"
  4856. for details:
  4857. http://members.aol.com/axcel216/umb.htm
  4858. Examples using UMBPCI.SYS in combination with MS HIMEM.SYS to load the ANSI
  4859. device in the Upper Memory Area (UMA):
  4860. DOS=HIGH,UMB
  4861. DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF /Q
  4862. DEVICE=C:\UMBPCI\UMBPCI.SYS
  4863. DEVICEHIGH=C:\DOS\ANSI.SYS /X
  4864. The "/X" ANSI.SYS command line parameter enables independent key remapping.
  4865.  
  4866. 3. Create a plain text file with Notepad in Windows or EDIT.COM in DOS, to
  4867. include the ANSI escape sequences (also called ASCII codes) for key remapping.
  4868. In this example the F12 key is remapped to reboot the computer by running
  4869. REBOOT.BAT:
  4870. Esc[0;134;"REBOOT";13p
  4871. Name this file let's say REBOOT.TXT, or whatever you want, but keep the TXT
  4872. extension.
  4873.  
  4874. 4. Add this line (example) to your Autoexec.bat, before the WIN command (which
  4875. starts the Windows GUI), if any:
  4876. TYPE C:\REBOOT.TXT
  4877.  
  4878. 5. From now on, all you need to do is hit F12, to instantly reboot your
  4879. machine from the native MS-DOS prompt.
  4880.  
  4881. 6. Done. :)
  4882.  
  4883. FYI: See "F1-F12 Remapping = MS-DOS Mode + ANSI Driver" in DOSTIPS.TXT
  4884. (included) for more details.
  4885.  
  4886.  
  4887.  
  4888. DEBUG BIOS PASSWORD [+]
  4889.  
  4890.  
  4891.  
  4892. Courtesy of Chris (scary_fast_99@yahoo.com).
  4893.  
  4894. "This DOS trick resets (deletes) your motherboard BIOS (CMOS) password, to
  4895. grant access to your computer and/or BIOS Setup once again, IF you have
  4896. forgotten or lost it. :)
  4897. Exit Windows or reboot to the native MS-DOS mode, using the "Command prompt
  4898. only" option from the Windows 95/98 Startup Menu (hold Shift and F5 at the
  4899. same time while your PC boots).
  4900. At the C:\> prompt, type:
  4901. DEBUG
  4902. and hit Enter. You'll see a dash (-) at the DEBUG prompt. Now type:
  4903. o 70 2e
  4904. which will show as -o 70 2e at the DEBUG prompt. Hit Enter. Then type:
  4905. o 71 ff
  4906. and hit Enter. Finally type:
  4907. Q
  4908. and hit Enter one last time, to quit DEBUG, back to the C:\> prompt.
  4909. Now you're ready to reboot your PC, and press the appropriate key or key combo
  4910. (look it up in your motherboard manual if you don't know it) to access your
  4911. BIOS Setup. You'll notice that the password is gone. :)"
  4912.  
  4913. NOTE: This works only with MS-DOS 6.00 - 6.22 and MS-DOS 7.xx [a.k.a. MS
  4914. Windows 9x].
  4915.  
  4916.  
  4917.  
  4918. URL PASSWORD
  4919.  
  4920.  
  4921.  
  4922. This trick applies to most internet sites that use Java(TM) or JavaScript(TM)
  4923. password boxes to allow access to their members/subscribers/users.
  4924. This will probably NOT work with sites that use Active Server Page (ASP)
  4925. programming or other server based (proprietary) methods for access.
  4926. Note that this won't let you view such restricted WWW pages/FTP sites IF
  4927. you're NOT an authorized user, but will speed up the typing process.
  4928. To bypass these [annoying :)] few extra steps: type in your URL, or go there
  4929. using your Bookmarks (Netscape users), your Favorites (MS Internet Explorer
  4930. users), or your URL shortcuts splattered all over your Desktop [:)], and only
  4931. after that type in your User ID [Name] and Password in the appropriate boxes,
  4932. just do this...
  4933. Add your User ID [Name] followed by a colon (:) and your Password followed by
  4934. an at sign (@) as shown below in front of your URL (Uniform Resource Locator),
  4935. after the "http://" or "ftp://" prefix.
  4936. This is only a generic example, it won't take you anywhere [:)]:
  4937. http://username:password@www.whateversite.com/restricted/
  4938. opposite to the "normal" URL:
  4939. http://www.whateversite.com/restricted/
  4940. Remember: passwords are ALWAYS case sensitive!
  4941. Have fun.
  4942.  
  4943.  
  4944.  
  4945. COLORFUL HELP
  4946.  
  4947.  
  4948.  
  4949. You can customize some of the colors used in Windows Help (.HLP) files by
  4950. editing WIN.INI (found in your Windows directory) with Notepad or Sysedit.
  4951. Create the [Windows Help] section if not present, and then add or modify these
  4952. lines (examples):
  4953.  
  4954. [Windows Help]
  4955. IFJumpColor=000 128 255
  4956. IFPopupColor=255 128 000
  4957. JumpColor=000 000 255
  4958. MacroColor=255 000 128
  4959. PopupColor=255 000 000
  4960.  
  4961. Save your work and restart Windows when done.
  4962. This works with ALL Windows 95/98/ME AND 3.1x releases.
  4963. These colors are represented in triple word (hypertext) notation, similar to
  4964. the Windows Desktop colors (which can be changed from the Control Panel).
  4965. Valid values range from 000 (for black) up to 255 (for white), and they are
  4966. ordered as red-green-blue. Examples of color mixes:
  4967.  
  4968. - 000 000 000 = Black
  4969. - 255 255 255 = White
  4970. - 128 128 128 = Gray
  4971. - 000 255 000 = Green
  4972. - 000 000 255 = Blue
  4973. - 255 000 000 = Red
  4974. - 000 255 255 = Yellow
  4975.  
  4976. Triple nul digits (000) can be abbreviated as single zeroes (0). Example:
  4977.  
  4978. - 0 0 0 = Black
  4979.  
  4980. For examples of color "combos" in the same format take a look at:
  4981. * Windows/WfWG 3.1x users: the values found under the [colors] section of your
  4982. WIN.INI file.
  4983. * Windows 9x/ME users: the String Values found under this Registry key (as
  4984. shown in Regedit):
  4985. HKEY_CURRENT_USER\Control Panel\Colors
  4986.  
  4987. Feel free to use any combinations until you obtain the desired effects.
  4988. But BEWARE that certain color mixes may render your Help file background
  4989. and/or foreground (text) unreadable, depending on the colors you use for your
  4990. Desktop. :)
  4991.  
  4992. MEANING:
  4993.  
  4994. - IFJumpColor = topic link color
  4995. - IFPopupColor = popup link color
  4996. - JumpColor = topic color
  4997. - MacroColor = macro color
  4998. - PopupColor = popup color
  4999.  
  5000. NOTE: You can also achieve this by using the More Control v1.1 Control Panel
  5001. applet [21 KB, public domain]:
  5002. http://members.aol.com/files4u/morecn.zip
  5003.  
  5004. FYI: See "HELP!" in MYTIPS31.TXT (this file) to learn how to enable the
  5005. sequential topic key "combos" for all available topics in ANY Windows Help
  5006. file.
  5007.  
  5008.  
  5009.  
  5010. PROXY AD BLOCKER [+]
  5011.  
  5012.  
  5013.  
  5014. Unearthed by Trevor Kolesar (tkolesar@hotmail.com).
  5015.  
  5016. "Check out this page for details:
  5017. http://www.schooner.com/~loverso/no-ads/
  5018. Creating a local PAC (Proxy Auto Configuration) file for Netscape
  5019. Navigator/Communicator 3.xx/4.xx/6.xx or a remote one (placed somewhere on the
  5020. internet) for MS Internet Explorer 3.xx/4.xx/5.xx/6.xx, or for any
  5021. JavaScript(TM) capable browser for that matter, can block out unwanted web
  5022. sites from collecting information about unsuspecting visitors, while loading
  5023. commercial ads/banners.
  5024. A custom HOSTS file didn't seem to block popup ads for me, but the PAC file
  5025. sure did. 8-)"
  5026.  
  5027.  
  5028.  
  5029. 3D CONTROLS FOR 3D EFFECTS
  5030.  
  5031.  
  5032.  
  5033. MS Windows (ANY release begining with Windows 3.10) 16 and 32 bit applications
  5034. and games written to take advantage of displaying "3D-like" raised/depressed
  5035. buttons, window borders, dialog boxes, windows etc NEED these DLLs (Dynamic
  5036. Link Libraries), which NEED to reside in these directories (folders):
  5037. - %windir%\SYSTEM = Win31, Win95, Win98 + WinME.
  5038. - %systemroot%\SYSTEM32 = WinNT, Win2000 + WinXP.
  5039. Default locations are:
  5040. - C:\WINDOWS\SYSTEM = Win31, Win95, Win98 + WinME.
  5041. - C:\WINNT\SYSTEM32 = WinNT.
  5042. - C:\WINDOWS\SYSTEM32 = Win2000 + WinXP.
  5043.  
  5044. NECESSARY STEPS:
  5045.  
  5046. Get Microsoft 3D Controls [51 KB, ZIPped, free]:
  5047. http://members.aol.com/files4u/3DCTRLS.ZIP
  5048. Then use your favorite (freeware) ZIPping/unZIPping tool from SOFTWARE.TXT
  5049. (included) [see "WINDOWS/WFWG 3.1x POWER TOYS"] to extract all *.DLL files
  5050. into an empty directory.
  5051.  
  5052. DLLs in 3DCTRLS.ZIP [current releases]:
  5053. - CTL3D.DLL = 16-bit 3D Controls Library V1 v2.31.000 [Win31, Win9x + WinME].
  5054. - CTL3D32.DLL = 32-bit 3D Controls Library v2.31.000 [WinNT + Win2000].
  5055. - CTL3D32S.DLL = 32-bit 3D Controls Library Extensions v2.31.000 [Win31, Win9x
  5056. + WinME].
  5057. - CTL3DV2.DLL = 16-bit 3D Controls Library V2 v2.31.001 [WinNT + Win2000].
  5058.  
  5059. WinXP installs these XP ONLY newer versions [do NOT replace them!]:
  5060. - CTL3D32.DLL v2.31.000.
  5061. - CTL3DV2.DLL v2.99.000.
  5062.  
  5063. These DLLs are NOT included with, NOR installed by:
  5064. - CTL3D.DLL: Win31, Win95/OSR1/OSR2, WinNT3/NT4, Win2000 + WinXP.
  5065. - CTL3D32.DLL: Win31, WinNT3, Win9x + WinME.
  5066. - CTL3D32S.DLL: ANY Windows release.
  5067. - CTL3DV2.DLL: Win31, WinNT3, Win9x + WinME.
  5068.  
  5069. ONLY Win98 retail, Win98 SE (Second Edition), WinME (Millennium Edition),
  5070. Win2000 and WinXP (eXPerience) install (some of) these files properly when you
  5071. Setup your OS. ALL other Windows releases DO NOT include or DO NOT install
  5072. (some of) these files!
  5073. Therefore you need to place them into proper locations (see above) manually.
  5074.  
  5075. IMPORTANT: You MUST DELETE ALL your (older, obsolete) 3D Control DLLs, EXCEPT
  5076. the ones in your Windows System(32) directories/folders, to ensure ALL your
  5077. programs/games perform properly!
  5078. To do this: open Windows Explorer [C:\Windows\Explorer.exe = 9x/NT4/2000/ME/XP
  5079. users] or File Manager [FM = C:\Windows\Winfile.exe = 31/NT3 users] -> start a
  5080. Find/Search operation on ALL your local fixed (hard) drives/partitions for
  5081. CTL3D*.* -> DELETE ALL FILES you found EXCEPT the ones residing in the default
  5082. locations (see top).
  5083.  
  5084. To display any Windows file version using:
  5085. * Windows Explorer: highlight a file -> right-click on it -> select Properties
  5086. -> click Version tab -> in Item Name: box scroll down to Product Version ->
  5087. look at the number shown in the Value: box.
  5088. * File Manager: highlight a file -> click File menu -> select Properties ->
  5089. look at the number shown in the Value: box.
  5090.  
  5091. ONLY IF the files you found in default locations (see top):
  5092. - are older versions: overwrite them with the ones included here;
  5093. - are missing: move the ones included here to the locations above.
  5094. To be able to overwrite (replace) files already in use, you may have to:
  5095. - exit or reboot (eventually using an emergency bootup floppy) Win31/9x/ME to
  5096. native/real MS-DOS mode and then replace the older files in your
  5097. %windir%\System directory;
  5098. - reboot (eventually using an emergency bootup floppy) WinNT/2000/XP to Safe
  5099. mode or to Command prompt [if the Windows Recovery Console (WRC) tool is
  5100. installed in Win2000/XP] and then replace the older files in BOTH your
  5101. %systemroot%\System32 and %systemroot%\System32\Dllcache folders: see "MS IE
  5102. 5.5 SP2 + 6.0 FIX" step 6 (SOLUTION + UPDATE):
  5103. http://members.aol.com/axcel216/newtip21.htm#WRC
  5104. also in MYTIPS95.TXT [part of W95-11D.ZIP]:
  5105. http://members.aol.com/axcel216/95.htm
  5106. to learn how to replace Windows 2000/XP system files already in use.
  5107. Restart or reboot Windows when done.
  5108.  
  5109. NOTE:
  5110. To be able to use CTL3D32.DLL + CTL3D32S.DLL under Windows/WfWG 3.1x you need
  5111. to install Microsoft Win32s 32-bit Extensions Add-on v1.30c [2.4 MB, free]:
  5112. ftp://ftp.microsoft.com/softlib/mslfiles/PW1118.EXE
  5113. to allow Windows/WfWG 3.1x to run 32-bit (Win32) applications/games supporting
  5114. this implementation.
  5115.  
  5116.  
  5117.  
  5118. EDIT BOOT FILES [*][+]
  5119.  
  5120.  
  5121.  
  5122. How many times have you typed too many characters at the DOS prompt, only to
  5123. perform common/repetitive tasks over and over, that could actually be
  5124. automated just by creating simple DOS based BATch (.BAT) files?
  5125. I know I have. :(
  5126. I'm talking here about editing your DOS mode boot files (if using any!):
  5127. AUTOEXEC.BAT + CONFIG.SYS, located in the root directory of your boot
  5128. drive/partition (default is C:\).
  5129.  
  5130. MEANING:
  5131. - AUTOEXEC.BAT = AUTOmatically EXECuted BATch file.
  5132. - CONFIG.SYS = CONFIGuration SYStem file.
  5133. See "MS Windows + MS-DOS = *VITAL* BACKUP ISSUES" in READ1ST.TXT (included)
  5134. for more details.
  5135.  
  5136. A MUST for ALL Windows ME users:
  5137. Microsoft REMOVED COMPLETELY the access to native/real MS-DOS mode from
  5138. Windows Millennium Edition (ME) [a.k.a. MS-DOS 8.00]! :(
  5139. But you CAN get it back by applying the Unofficial Real DOS-Mode Patch [9 KB,
  5140. freeware]:
  5141. http://www.geocities.com/mfd4life_2000/
  5142. which modifies COMMAND.COM + IO.SYS (from %windir%\COMMAND\EBD) + REGENV32.EXE
  5143. (from %windir%\SYSTEM), in order to be able to boot to native MS-DOS and use
  5144. DOS mode startup files (AUTOEXEC.BAT + CONFIG.SYS), the Windows 95/98 style,
  5145. to be able to use your (old) MS-DOS based apps/games that do NOT work from
  5146. within a Windows DOS session/box, and tweak your CUSTOM AUTOEXEC.BAT +
  5147. CONFIG.SYS files to free MAXimum conventional DOS memory. :)
  5148.  
  5149. Instead of going through all these annoying, time consuming steps: shell out
  5150. to a DOS prompt window (if doing this from within Windows GUI), type something
  5151. like:
  5152. EDIT C:\AUTOEXEC.BAT
  5153. or:
  5154. NOTEPAD C:\CONFIG.SYS
  5155. then press Enter, and finally type EXIT and hit Enter [again :(] to close the
  5156. DOS box (if running Windows) when done, you could simply use these 2 DOS style
  5157. batch files (both included): EAB.BAT + ECS.BAT, for convenience and to save
  5158. precious time.
  5159. Both these BATches bear suggestive names:
  5160. - EAB.BAT = Edit Autoexec.Bat.
  5161. - ECS.BAT = Edit Config.Sys.
  5162. I strongly recommend to place them in a directory/folder listed in your PATH,
  5163. to avoid changing directories in order to run them. Type PATH and hit Enter
  5164. from any DOS prompt to display your current path line.
  5165. Alternatively you can create a new dedicated directory/folder (example):
  5166. MD C:\BATCHES
  5167. but make sure to add it to your "SET PATH=" statement (if any), in CONFIG.SYS
  5168. or AUTOEXEC.BAT, which should look something like this (examples using default
  5169. install locations; modify if different on your system):
  5170. - Win9x/ME:
  5171. SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\STUFF;C:\BATCHES;
  5172. - MS-DOS 6.xx:
  5173. SET PATH=C:\;C:\DOS;C:\WINDOWS;C:\STUFF;C:\BATCHES;
  5174.  
  5175. Start by creating a handy MS-DOS shortcut (.PIF = MS-DOS Program Information
  5176. File) for each of them:
  5177.  
  5178. - Windows 9x/ME users: right-click on an empty Desktop spot -> select New ->
  5179. Shortcut -> browse to the directory where you have placed EAB.BAT (and when
  5180. done repeat all these steps also for ECS.BAT) -> (double)-click on it -> click
  5181. Next -> click Finish -> right-click on your new MS-DOS shortcut -> select
  5182. Properties -> Program tab -> check the "Close on exit" box -> Misc tab ->
  5183. uncheck the "Warn if still active" box -> click Apply/OK.
  5184. I recommend to rename these 2 PIF shortcuts to something more suggestive:
  5185. right-click on each one [one at a time :)] -> select Rename -> type "Edit
  5186. Autoexec.bat" instead of EAB.BAT, and then "Edit Config.sys" instead of
  5187. ECS.BAT (but don't type the quotes) -> hit Enter.
  5188. Optional: if you'd like to change the default "ugly" MS-DOS icon (assigned by
  5189. default to all PIF files from %windir%\SYSTEM\PIFMGR.DLL): right-click on each
  5190. PIF shortcut [one at a time :)] select Properties -> Program tab -> click
  5191. Change icon -> browse to your favorite icon file (.ICO) or icon library (.DLL,
  5192. .EXE or .ICL) -> scroll through the icons if more than one -> (double)-click
  5193. the one you want -> click Apply/OK.
  5194. Note that by default the .PIF file extension is hidden in Win9x/ME, unless you
  5195. use File Manager (FM = %windir%\WINFILE.EXE) to "see" it.
  5196.  
  5197. - Windows/WfWG 3.1x users: open (if not already running) Program Manager
  5198. (ProgMan = %windir%\PROGMAN.EXE) -> create/open/select desired Program Group
  5199. -> click File -> select New -> check Program Item -> type "Edit Autoexec.bat"
  5200. for EAB.BAT, and then "Edit Config.sys" for ECS.BAT in the Description box
  5201. (but don't type the quotes) -> browse to the directory where you have placed
  5202. EAB.BAT (and when done repeat all these steps also for ECS.BAT) ->
  5203. double-click on it -> click Change Icon -> browse to your favorite icon file
  5204. (.ICO) or icon library (.DLL, .EXE or .ICL) -> scroll through the icons if
  5205. more than one -> double-click the one you want -> click OK.
  5206.  
  5207. From now on you will be able to edit your boot files from within Windows with
  5208. a single mouse (double)-click. :)
  5209. If running them from native MS-DOS mode (outside Windows), just type EAB (or
  5210. ECS) and press Enter. That's it.
  5211.  
  5212. NOTES: Both EAB.BAT + ECS.BAT are "smart" enough [;)] to...
  5213. * Take in consideration if you dual-boot between Win9x/ME and MS-DOS 6.xx, and
  5214. open the correspondent boot files (only if present) for editing.
  5215. * Use a different text/ASCII editor/viewer depending on current Windows/DOS
  5216. mode:
  5217. - Notepad (%windir%\NOTEPAD.EXE = MS Windows 9x/ME/3.1x default editor) if
  5218. running them from a Windows DOS prompt box/session/window.
  5219. - EDIT.COM (%windir%\COMMAND\EDIT.COM in Win9x/ME, or C:\DOS\EDIT.COM or
  5220. C:\MSDOS\EDIT.COM in MS-DOS 6.xx = MS-DOS default editor) if running them from
  5221. the native/real/pure/true MS-DOS 6.xx/7.xx/8.00 mode C:\> prompt.
  5222. * Use the built-in VER command for OS detection to check for running MS-DOS
  5223. and/or MS Windows versions, thus editing the proper boot files (only if
  5224. present):
  5225. - AUTOEXEC.BAT + CONFIG.SYS = used by ALL MS Windows 95/98/ME + MS-DOS
  5226. 6.00/6.20/6.21/6.22 OSes.
  5227. - AUTOEXEC.DOS + CONFIG.DOS = MS-DOS 6.xx AUTOEXEC.BAT + CONFIG.SYS files
  5228. renamed by Win9x/ME Startup Manager when booting to MS Windows 9x/ME.
  5229. - AUTOEXEC.W40 + CONFIG.W40 = MS Windows 9x/ME AUTOEXEC.BAT + CONFIG.SYS files
  5230. renamed by Win9x/ME Startup Manager when booting to MS-DOS 6.xx.
  5231. * Abort and exit if using ANY MS-DOS release older than 6.00, because Win9x/ME
  5232. do NOT support dual-booting with MS-DOS 5.0 or ANY other earlier build. :(
  5233. * Close automatically upon completion, returning control to the running OS.
  5234. * Automatically create BACKUPS of your ORIGINAL files in C:\ root, BEFORE you
  5235. start making ANY changes:
  5236. - AUTOEXEC.D6X + CONFIG.D6X = if using MS-DOS 6.xx.
  5237. - AUTOEXEC.W9X + CONFIG.W9X = if using MS Windows 9x/ME.
  5238. * Require ALL these files for proper operation: ATTRIB.EXE, CHOICE.COM,
  5239. FIND.EXE, MEM.EXE, START.EXE [Win9x/ME only], NOTEPAD.EXE + EDIT.COM to reside
  5240. in their DEFAULT directories/folders, which are normally listed in the system
  5241. PATH!
  5242.  
  5243. Of course, you could use the SysEdit tool (%windir%\SYSTEM\SYSEDIT.EXE)
  5244. bundled with ALL MS Windows 95/98/3.1x releases to modify your AUTOEXEC.BAT +
  5245. CONFIG.SYS, but SysEdit canNOT edit boot files other than the ones used by the
  5246. current OS, or with different file extensions (.DOS or .W40). :(
  5247. The only advantage is that SysEdit creates backups of your original system
  5248. files (ONLY IF you modify them first!) with the .SYD extension: AUTOEXEC.SYD +
  5249. CONFIG.SYD in C:\ root.
  5250. Microsoft removed SYSEDIT.EXE from Windows ME. :(
  5251. See "RESTORE SYSEDIT" in TIPSME.TXT, part of W95-11D.ZIP:
  5252. http://members.aol.com/axcel216/95.htm
  5253. for details on how to get it back.
  5254.  
  5255. You can view and/or further modify EAB.BAT + ECS.BAT if you wish, to adapt
  5256. them to your particular needs, by opening them in Notepad in Windows or
  5257. EDIT.COM in DOS.
  5258.  
  5259. IMPORTANT:
  5260. If you experience any problems/errors/lockups after modifying your boot files,
  5261. you can always RESTORE your ORIGINAL AUTOEXEC.BAT + CONFIG.SYS files (if any)
  5262. from the existent BACKUPS (ONLY IF you have already run EAB.BAT + ECS.BAT!),
  5263. by copying the respective *.D6X and/or *.W9X files located in C:\ root back to
  5264. *.BAT, *.SYS, *.DOS and/or *.W40, respectively. Examples:
  5265. - Using MS Windows 9x/ME:
  5266. COPY C:\AUTOEXEC.W9X C:\AUTOEXEC.BAT
  5267. - Using MS-DOS 6.xx:
  5268. COPY C:\CONFIG.D6X C:\CONFIG.SYS
  5269. In case your PC locks up, you can either:
  5270. - (Re)boot from a bootup/startup backup floppy diskette or CD-ROM (only if
  5271. this feature is supported by your motherboard BIOS) containing the system
  5272. files (MSDOS.SYS, IO.SYS + COMMAND.COM) for your specific MS OS, or
  5273. - Hold Shift (or Ctrl) and press F5 while (re)booting to bypass the startup
  5274. files and boot "clean", without any devices/drivers/TSRs loaded in memory.
  5275. Then restore your original files as described above.
  5276. You MUST reboot when done.
  5277.  
  5278. A MUST: If you DO use boot files and/or DOS based programs/games, especially
  5279. certain ones that canNOT run properly from within Windows, see MEMORY.TXT
  5280. (included) for detailed guidelines on how to MAXimize your memory resources
  5281. and speed up the bootup sequence in Windows 9x/ME and MS-DOS 6.xx, by tweaking
  5282. your MSDOS.SYS [Win9x/ME only], AUTOEXEC.BAT + CONFIG.SYS files.