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

  1.                  AXCEL216's MAX Speeed
  2.         MS-DOS 5.00 - 8.00 Undocumented + Hidden Secrets
  3.  
  4.  
  5.  
  6.  
  7. My DOS Secrets are also available at:
  8. http://members.aol.com/axcel216/secrets.htm
  9.  
  10. Some of these HIDDEN/UNDOCUMENTED MS-DOS commands might save your "computing
  11. life" one day, as they have saved mine.
  12.  
  13. WARNING: USE ALL DISK PARTITIONING AND FORMATTING TOOLS WITH EXTREME CAUTION
  14.      AND ALWAYS BACKUP ALL YOUR HARD DRIVES TO A SAFE LOCATION BEFOREHAND!
  15.  
  16. Please send me your comments, corrections, tips at:
  17. axcel216@aol.com
  18.  
  19. MUST HAVE from SOFTWARE.TXT (included) [99.99% FREE(ware)]:
  20. - MS-DOS 5.00 - 8.00 ESSENTIALS:
  21. http://members.aol.com/axcel216/dos.htm
  22. - Speeed-Up + BenchMark Tools:
  23. http://members.aol.com/axcel216/speed.htm
  24.  
  25.  
  26. SECRETS.TXT Contents: [alphabetical order]
  27.  
  28.  
  29. COMMAND.COM HIDDEN PARAMETERS:
  30. 1. COMMAND /D
  31. 2. COMMAND /F
  32. 3. COMMAND /T
  33. 4. COMMAND /Z
  34.  
  35. EMM386.EXE HIDDEN PARAMETERS:
  36.    DEVICE=drive:\path\EMM386.EXE NOTR
  37.  
  38. FAT16 -> FAT32
  39.  
  40. FAT32 DISK PARTITIONING, FORMATTING + RECOVERY TOOLS
  41.  
  42. FDISK.EXE HIDDEN PARAMETERS:
  43.  1. FDISK /FPRMT
  44.  2. FDISK x /PRI:n (/PRIO:n) /EXT:n /LOG:n (/LOGO:n)
  45.  3. FDISK /MBR
  46.  4. FDISK /Q
  47.  5. FDISK /STATUS
  48.  6. FDISK /X
  49.  7. FDISK /ACTOK
  50.  8. FDISK /CMBR x
  51.  9. FDISK /PARTN
  52. 10. FDISK /PRMT
  53.  
  54. FORMAT.COM HIDDEN PARAMETERS:
  55. 1. FORMAT drive: /AUTOTEST
  56. 2. FORMAT drive: /BACKUP
  57. 3. FORMAT drive: /SELECT
  58. 4. FORMAT drive: /U
  59. 5. FORMAT drive: /SELECT /U
  60. 6. FORMAT drive: /Z:n
  61.  
  62. HIMEM.SYS HIDDEN PARAMETERS:
  63.    DEVICE=drive:\path\HIMEM.SYS /Q
  64.  
  65. MEM.EXE HIDDEN PARAMETERS:
  66.    MEM /A
  67.  
  68. VER HIDDEN PARAMETERS:
  69.    VER /R
  70.  
  71. WIN.COM HIDDEN PARAMETERS:
  72. 1. WIN /W
  73. 2. WIN /WX
  74. 3. WIN /Z
  75. 4. WIN :
  76.  
  77.  
  78. MS-DOS Commands on the Internet:
  79. - Undocumented DOS Commands:
  80. http://ourworld.compuserve.com/homepages/kevtronics/undoc.txt
  81. - NOTES ON MS-DOS 6.22:
  82. http://2dos.homepage.dk/batutil/help/INDEX.HTM
  83. - MS-Dos7 Commands:
  84. http://www3.sympatico.ca/rhwatson/dos7/
  85. - DOS 7 COMMANDS:
  86. http://www.generation.net/~hleboeuf/dos7comm.htm
  87. - MSDOS Help + Commands:
  88. http://www.computerhope.com/msdos.htm
  89. - DOS Command Index:
  90. http://www.easydos.com/dosindex.html
  91. - MS TechNet Archive => click left side [+] MSDOS link:
  92. http://www.microsoft.com/technet/archive/
  93. ______________________________________________________________________________
  94.  
  95.  
  96.  
  97.             COMMAND.COM HIDDEN PARAMETERS
  98.  
  99.  
  100.  
  101. COMMAND.COM is the MS-DOS mode command line interpreter, located by default
  102. in C:\Windows [Windows 95/98/ME] or in C:\DOS [MS-DOS 5.00 - 6.22].
  103. IMPORTANT: To become familiar with the COMMAND.COM command line switches (the
  104. documented ones anyway):
  105. - Windows 95/98/ME users: use Notepad to read the "SHELL" topic in CONFIG.TXT,
  106. a text file located in your Windows folder.
  107. - All Windows/DOS users: run:
  108. COMMAND /?
  109. at any DOS prompt to display the COMMAND.COM help screen.
  110. - MS-DOS 6.xx users: run this command from a DOS prompt:
  111. HELP COMMAND
  112. and read the topic.
  113. More info:
  114. http://www.robvanderwoude.com/command.html
  115. NOTE: Read also "COMMAND.COM" in TIPS95.TXT [part of W95-11D.ZIP] or in
  116. MYTIPS31.TXT [part of W31-11D.ZIP].
  117. All COMMAND.COM parameters listed below can be used on the CONFIG.SYS file
  118. SHELL= line (primary permanent shell):
  119. SHELL=C:\COMMAND.COM C:\ /E:512 /D /F /T /Z
  120. on a Windows PIF file (MS-DOS Prompt application) command line, in batch
  121. files, or/and at the plain DOS prompt (secondary shell, which can be made
  122. permanent if adding the /P switch).
  123.  
  124. In MS-DOS 5.00 - 6.22 you can use this undocumented workaround to force
  125. COMMAND.COM to load "high", which requires an upper memory manager in
  126. CONFIG.SYS, like EMM386.EXE or UMBPCI.SYS. Example:
  127. SHELL=C:\COMMAND.COM /C LOADHIGH=C:\COMMAND.COM C:\ /E:512 /P
  128. This works ONLY IF:
  129. - a copy of your COMMAND.COM file resides in C:\ root (for compatibility with
  130. older DOS programs/games that expect to find the command interpreter in the
  131. root directory of your boot drive/partition);
  132. - ALL your "SET <variable>=" lines are placed/moved into your AUTOEXEC.BAT
  133. file from CONFIG.SYS (MS-DOS 6.00 - 6.22 ONLY);
  134. - this command exists as your first AUTOEXEC.BAT line:
  135. SET COMSPEC=C:\COMMAND.COM
  136. - UMBs are enabled by this CONFIG.SYS line in MS-DOS 5.00 - 8.00 so
  137. COMMAND.COM (or ANY other device/driver/TSR) can load in UMA:
  138. DOS=HIGH,UMB
  139. DISADVANTAGE: In some cases a second copy of COMMAND.COM remains resident in
  140. (upper) memory. :(
  141. More details:
  142. http://www.robvanderwoude.com/dosmem.html
  143. In MS-DOS 7.00 - 8.00 [a.k.a. Windows 95/98/ME] this function is built into
  144. IO.SYS, and COMMAND.COM loads in UMA (Upper Memory Area) automatically ONLY IF
  145. UMBs (Upper Memory Blocks) are provided by an upper memory manager like
  146. EMM386.EXE or UMBPCI.SYS, and IF the line "DOS=HIGH,UMB" exists in CONFIG.SYS.
  147.  
  148.  
  149. 1. COMMAND /D [MS-DOS 5.00 and above ONLY]
  150.  
  151.  
  152. COMMAND /D (DENY) performs different actions depending on the MS-DOS version:
  153. - in MS-DOS 5.00: used on the CONFIG.SYS file SHELL= line prevents the
  154. execution of the AUTOEXEC.BAT file (if present) at bootup.
  155. - in MS-DOS 6.xx and 7.xx/8.00 [a.k.a. MS Windows 9x/ME]: disables the
  156. automatic floppy "Fail" response if enabled by the /F (FAIL) parameter (see
  157. "COMMAND /F" below).
  158.  
  159.  
  160. 2. COMMAND /F [MS-DOS 6.00 and above ONLY]
  161.  
  162.  
  163. COMMAND /F (FAIL) removes the "Abort, Retry, Fail" message and forces a "Fail"
  164. response to all "Abort, Retry, Fail" prompts issued by the DOS critical error
  165. handler. If the floppy disk is not ready it automatically goes to "Fail".
  166.  
  167.  
  168. 3. COMMAND /T [Windows 95 + MS-DOS 7.00 and above ONLY]
  169.  
  170.  
  171. COMMAND /T forces the COMMAND.COM resident module to load permanently in low
  172. memory (below the 640K barrier), even if the Upper Memory Area (UMA) is
  173. enabled by an upper memory manager (i.e. EMM386.EXE or UMBPCI.SYS) from
  174. CONFIG.SYS.
  175. Using /T in combination with the /P (PERMANENT) parameter, ONLY from the DOS
  176. prompt or in batch files (NOT from the CONFIG.SYS SHELL= line), also executes
  177. the AUTOEXEC.BAT file (if present), besides forcing the COMMAND.COM resident
  178. module to load permanently in low memory.
  179. WARNING: Using /T on the CONFIG.SYS SHELL= line may lock up Windows 9x/ME GUI
  180. upon shut down!
  181.  
  182.  
  183. 4. COMMAND /Z [Windows 95 + MS-DOS 7.00 and above ONLY]
  184.  
  185.  
  186. COMMAND /Z (ZERO) displays the "ERRORLEVEL" return code messages after
  187. executing external DOS commands (internal DOS commands do not display error
  188. codes in this manner).
  189. You'll see a message like this when using the /Z parameter (errorlevel 0 is
  190. the normal/default return code):
  191.  
  192. "Microsoft(R) Windows 95
  193. (C)Copyright Microsoft Corp 1981-1999.
  194. Return code (ERRORLEVEL): 0
  195. WARNING: Reloaded COMMAND.COM transient"
  196.  
  197.  
  198.  
  199.             EMM386.EXE HIDDEN PARAMETERS
  200.  
  201.  
  202.  
  203. EMM386.EXE is the Microsoft upper/extended/expanded memory manager, located by
  204. default in C:\Windows [MS Windows 95/98/ME] or in C:\DOS [MS-DOS 5.00 - 6.22].
  205. EMM386.EXE can be loaded ONLY in CONFIG.SYS using the DEVICE command. Example:
  206. DEVICE=C:\WINDOWS\EMM386.EXE RAM I=B000-B7FF D=256 AUTO NOTR
  207. The EMM386.EXE DEVICE line MUST appear in Config.sys AFTER the HIMEM.SYS line,
  208. and BEFORE ANY other device drivers loaded with DEVICE, DEVICEHIGH, INSTALL or
  209. INSTALLHIGH.
  210. Running:
  211. EMM386
  212. from a DOS prompt, displays the EMM386 status.
  213. EMM386.EXE provides access to the Upper Memory Area (UMA), uses the computer's
  214. extended memory to simulate expanded memory and allows programs and device
  215. drivers to load into Upper Memory Blocks (UMBs).
  216. IMPORTANT: To become familiar with the EMM386.EXE command line switches (the
  217. documented ones anyway):
  218. - Windows 95/98/ME users: use Notepad to read the "EMM386.EXE" topic in
  219. MSDOSDRV.TXT, a text file located in your Windows folder.
  220. - MS-DOS 6.xx users: run this command from any DOS prompt:
  221. HELP EMM386.EXE
  222. and read the topic.
  223. - Read also the EMM386.EXE related topics in MEMORY.TXT and EMM386.TXT (both
  224. included).
  225.  
  226.  
  227. DEVICE=drive:\path\EMM386.EXE NOTR [MS-DOS 6.00 and above ONLY]
  228.  
  229.  
  230. The EMM386.EXE default detection code searches for the presence of a Token
  231. Ring Network adapter, which may cause some computers to hang. In this case use
  232. the NOTR parameter to disable this search.
  233. This is valid ONLY for EMM386.EXE versions 4.45 - 4.49 [MS-DOS 6.00 - 6.22] up
  234. to 4.95 [MS Windows 95/98/ME, a.k.a. MS-DOS 7.00/7.10/8.00]. Example:
  235. DEVICE=C:\WINDOWS\EMM386.EXE NOTR
  236.  
  237.  
  238.  
  239.                 FAT16 -> FAT32
  240.  
  241.  
  242.  
  243. FAT16 [R.I.P.! :-)] is the most used File Allocation Table (FAT) 16-bit
  244. standard on "Wintel" PCs, recognized by all MS-DOS releases begining with
  245. 4.00, and by all MS Windows versions.
  246. MS-DOS releases older than 4.00 used to operate with the obsolete FAT12
  247. standard, discontinued, but still in use by the ol' floppy disk(ette)
  248. standard. :(
  249. FAT12 was able to handle partitions up to 16 MB using 4 KB clusters.
  250. FAT16 limitations:
  251. * maximum partition size = 2 GigaBytes (GB) = 2,048 MegaBytes (MB);
  252. * maximum number of root directory file entries allowed = 512 (same as FAT12);
  253. * (too) large cluster size, which wastes a lot of disk space, by allocating at
  254. least 1 cluster to each file on disk, even if a file is at least 1 byte in
  255. length.
  256. Note that 0 byte files (same as directory/folder entries) do NOT take ANY disk
  257. space, but each directory entry (32 Bytes on FAT32) occupies a separate FAT
  258. entry.
  259. Another example: a 33 KB file has 2 clusters assigned on a disk partition with
  260. 32 KB clusters, thus wasting 31 KB because 2 files do NOT share the same
  261. cluster:
  262.  
  263. Partition size:        FAT16 Cluster size:
  264. -------------------------------------------
  265.     0 - 127 MB         2 KB = 2048 B
  266.   128 - 255 MB         4 KB = 4096 B
  267.   256 - 511 MB         8 KB = 8192 B
  268.  512 - 1023 MB        16 KB = 16384 B
  269. 1024 - 2047 MB        32 KB = 32768 B
  270.  
  271. Begining with the release of Windows 95B OSR 2.0, Microsoft introduced a new
  272. File Allocation Table standard: FAT32, which extends these limits:
  273. * FAT32, first version, supports partitions up to 2 TeraBytes (TB) = 2,048 GB
  274. = 2,097,152 MB (theoretical limit);
  275. * FAT32X, second version, released begining with MS Windows 95C OSR 2.5 and
  276. Windows 98/98 SE(U)/ME, features eXtended support for newer drives larger than
  277. 8 GB (with more than 1023 cylinders, 255 heads and 63 sectors), using the new
  278. BIOS interrupt 13 (INT13h) extension (on newer Pentium class and above PCs
  279. that support this BIOS feature), for a total of 28 bits of addressing a
  280. maximum of 137 GB of hard disk capacity (practical limit);
  281. * supports unlimited number of root directory file entries;
  282. * smaller, more efficient cluster size, without noticeable performance
  283. degradation:
  284.  
  285. Partition size:        FAT32/FAT32X Cluster size:
  286. --------------------------------------------------
  287.       0 - 259 MB    512 B [*]
  288.     260 - 511 MB     1 KB = 1024 B [*]
  289.    512 - 8191 MB     4 KB = 4096 B
  290.  8192 - 16383 MB     8 KB = 8192 B
  291. 16384 - 32767 MB    16 KB = 16384 B
  292.  32768 MB - 2 TB    32 KB = 32768 B
  293.  
  294. [*] = ONLY if using: FORMAT drive: /Z:n -> see "FORMAT drive: /Z:n" below!
  295.  
  296. Therefore FAT32 wastes a lot less disk space, preserving speedy disk access at
  297. the same time.
  298. More info @ MSKB:
  299. http://support.microsoft.com/support/kb/articles/q69/9/12.asp
  300.  
  301. NOTE: You MUST be using Windows 95 B/C OSR 2.0 - 2.5, 98/98 SE(U) [a.k.a.
  302. MS-DOS 7.10], ME [a.k.a. MS-DOS 8.00], 2000, XP or .Net [no MS-DOS here :)] to
  303. take advantage of FAT32!
  304.  
  305. PROs + CONs:
  306.  
  307. * Larger cluster size means faster disk access, but more disk overhead (wasted
  308. clusters), and less space for stored files, opposite to:
  309. * Smaller cluster size means slower disk access, but less disk overhead
  310. (wasted clusters), and more space for stored files.
  311. FYI: The performance hit for using FAT32 depends on: the speed of your CPU,
  312. CPU-to-PCI + PCI-to-IDE/SCSI bus bandwidth, disk controller capabilities and
  313. hard disk subsystem transfer rates + access times.
  314.  
  315. KNOWN BUGS:
  316.  
  317. 1. Microsoft acknowledged in this MSKB article:
  318. http://support.microsoft.com/support/kb/articles/q246/8/18.asp
  319. that Windows 95 retail, 95a OSR1 and 95 B/C OSR 2.x do NOT support disk
  320. drives larger than 32 GB. :(
  321. 2. Windows 98 retail and 98 SE(U) provide built-in support for media drives >
  322. 32 GB, but you need to install the fixed ESDI_506.PDR that allows ScanDskw to
  323. properly recognize (E)IDE hard disk clusters beyond cluster number 967,393:
  324. http://download.microsoft.com/download/win98SE/Update/5638-6151/W98/EN-US/243450USA8.EXE
  325. More info:
  326. http://support.microsoft.com/support/kb/articles/q243/4/50.asp
  327. 3. The ONLY Microsoft Operating Systems that natively support drives larger
  328. than 32 GB (to date) are Windows NT 4.0, 2000, ME, XP and .Net.
  329.  
  330. FAT32X + 8 GB BIOS limit techno details + specs:
  331.  
  332. - IBM Getting Beyond the ATA 8.4 GB Limit:
  333. http://www.storage.ibm.com/hardsoft/diskdrdl/library/8.4gb.htm
  334. - The Partition Primer:
  335. http://www.ranish.com/part/primer.htm
  336. - PowerLoad FAT32, FDISK + FORMAT Guide:
  337. http://www.powerload.fsnet.co.uk/fat32/fat32.htm
  338. - FAT32 Information:
  339. http://www.computerhope.com/fat32.htm
  340. - Partitions + File Systems:
  341. http://www.users.globalnet.co.uk/~jeacocke/
  342. - BIOS IDE Harddisk Limitations:
  343. http://web.inter.nl.net/hcc/J.Steunebrink/bioslim.htm
  344.  
  345. FAT32 techno details + specs:
  346.  
  347. Microsoft FAT32 reference pages [all Microsoft web pages listed below require
  348. one of these free web browsers with JavaScript(TM) enabled!]:
  349. - Netscape Navigator/Communicator 3/4/6 or newer:
  350. http://www.netscape.com/download/
  351. - Microsoft Internet Explorer 4/5/6 or newer:
  352. http://www.microsoft.com/windows/ie/
  353.  
  354. * MSKB: "Description of FAT32 File System":
  355. http://support.microsoft.com/support/kb/articles/q154/9/97.asp
  356. NOTE: MicroSoft Knowledge Base (MSKB):
  357. http://support.microsoft.com/
  358. is a MUST for ALL WinDOwS users, covering all aspects of installing/working
  359. with/customizing your Operating System(s), and could be the answer to your OS
  360. related bugs/lockups!
  361.  
  362. * MS HWDEV: "FAT32 on Preinstalled Systems":
  363. http://www.microsoft.com/hwdev/archive/devdes/fat32preinstall.asp
  364. NOTE: Microsoft Driver and Hardware Development (HWDEV):
  365. http://www.microsoft.com/hwdev/
  366. has loads of information on newer PC technologies (like PCI, AGP, USB, FAT32
  367. etc) used in the MS Windows Operating Systems.
  368.  
  369.  
  370.  
  371.       FAT32 DISK PARTITIONING, FORMATTING + RECOVERY TOOLS
  372.  
  373.  
  374.  
  375. * FDISK.EXE is a 16-bit DOS based command line driven tool, the "de facto"
  376. Microsoft partitioning utility, located in %windir%\COMMAND (default is
  377. C:\Windows\Command) [Windows 95/98/ME, a.k.a. MS-DOS 7.xx/8.00] or in your
  378. MS-DOS 6.xx directory (default is C:\MSDOS or C:\DOS) [MS-DOS 6.00 - 6.22].
  379. Its purpose is to display boot, disk and partition information, modify
  380. existing partitions, create new ones and/or delete the ones you want on all
  381. installed fixed hard disk(s), but ONLY WITH COMPLETE DATA LOSS! :(
  382. Starting with Windows 95B OSR 2.0 FDISK has the capability of creating FAT32
  383. partitions of minimum 512 MB on existent drive(s), and of converting your
  384. current FAT16 partitions to FAT32, but NOT the other way around WITHOUT
  385. COMPLETE DATA LOSS!
  386. IMPORTANT: To become familiar with FDISK.EXE's command line switches (the
  387. documented ones anyway), run one of these commands from any DOS prompt:
  388. FDISK /?
  389. or:
  390. HELP FDISK
  391. to display the FDISK.EXE help screen.
  392. More details:
  393. - MSKB: How to Use the Fdisk Tool and the Format Tool to Partition or
  394. Repartition a Hard Disk:
  395. http://support.microsoft.com/support/kb/articles/q255/8/67.asp
  396. - Undocumented FDISK:
  397. http://www.jacobsen.sdn.dk/fdisk/
  398. - FDISK Information:
  399. http://www.fdisk.com/fdisk/
  400. - FDISK Undocumented Switches:
  401. http://www.geocities.com/thestarman3/asm/mbr/switches.htm
  402. - FDISK: The Built In Partitioning Tool:
  403. http://members.bellatlantic.net/~mrscary/fdisk.htm
  404. - FDISK Command:
  405. http://www.computerhope.com/fdiskhlp.htm
  406. - FDISK:
  407. http://www.robvanderwoude.com/fdisk.html
  408. - Radified FDISK Guide:
  409. http://fdisk.radified.com/
  410. - Using FDISK:
  411. http://www3.sympatico.ca/rhwatson/dos7/u-fdisk-1.html
  412. - Hard Disk Partitioning:
  413. http://www.oakroadsystems.com/tech/hd-partn.htm
  414.  
  415. * Another OSR2/Win98/WinME FAT32 conversion tool comes also from Microsoft:
  416. CVT.EXE [61 KB, free, unsupported]:
  417. http://www.ranish.com/part/cvt16-32.zip
  418. CVT.EXE preserves disk data integrity. Requires to specify the drive letter to
  419. convert. Running CVT without command line parameters displays the help screen.
  420. You canNOT convert a FAT32 partition back to FAT16 using CVT!
  421. CVT.EXE requires a minimum of 500 KB of free DOS memory. To avoid error
  422. messages like:
  423. "Not enough memory (system) resources"
  424. while running CVT, disable the loading of some of your DOS mode devices/TSRs,
  425. by adding REM in front of the respective lines in your CONFIG.SYS and/or
  426. AUTOEXEC.BAT, or use an upper memory manager (like MS EMM386.EXE or
  427. UMBPCI.SYS) to load them all "high", in upper memory (UMA). Edit your startup
  428. files using EDIT.COM in DOS or Notepad in Windows. Reboot when done.
  429.  
  430. * Win98 and 98 SE(U) include a graphical FAT32 conversion tool (Cvt1.exe,
  431. located in %windir%, default C:\Windows), capable of converting your existing
  432. FAT16 partitions to FAT32 (528 MB minimum size), but NOT the other way around!
  433. Cvt1.exe actually provides a front end (GUI) to running the CVT.EXE DOS mode
  434. tool (see above), also included with Win98/98 SE/ME (in C:\Windows\Command),
  435. but adds extensive help to guide you through the entire process.
  436. To access the FAT32 conversion tool: click the Start button -> Programs ->
  437. Accessories -> System Tools -> FAT32 Converter.
  438.  
  439. * To create FAT32 partitions smaller than 528 MB or to convert FAT16
  440. partitions to FAT32 and BACK:
  441. - WITH data loss: see the UNDOCUMENTED FDISK parameters below;
  442. - WITHOUT data loss: get a 3rd party utility like:
  443.  
  444. * Ranish Partition Manager v2.43 Beta 16-bit for DOS creates, deletes,
  445. resizes and formats FAT16/FAT32 hard disk partitions, includes Advanced Boot
  446. Manager:
  447. http://www.ranish.com/part/
  448. Direct download [169 KB, postcardware]:
  449. http://www.ranish.com/part/partbeta.zip
  450.  
  451. * Partition Resizer v1.3.4 16-bit for DOS (re)partitions/resizes hard disk
  452. partitions up to 2 TB (TeraBytes) without data loss, advanced command line
  453. options:
  454. http://www.zeleps.com/
  455. Direct download [97 KB, freeware]:
  456. http://194.219.136.116/Zeleps/Files/PRESZ134.ZIP
  457.  
  458. * FIPS v2.0 16-bit for DOS FAT32 dynamic nondestructive hard disk
  459. (re)partitioner:
  460. http://www.igd.fhg.de/~aschaefe/fips/
  461. Direct download [158 KB, free GNU]:
  462. http://www.igd.fhg.de/~aschaefe/fips/fips20.zip
  463. Courtesy of Tony Melius (Tony.Melius@qed.qld.gov.au).
  464.  
  465. * Free FDISK v1.0 16-bit [also part of FreeDOS: http://www.freedos.org/]
  466. improved Microsoft FDISK.EXE replacement for DOS partitions/resizes hard disks
  467. up to 128 GB, supports Microsoft's FDISK undocumented parameters (see below),
  468. FAT32 and non-DOS partitions, extended command line for batch disk cloning,
  469. includes BootEasy compact multiboot loader, highly customizable:
  470. http://www.23cc.com/free-fdisk/
  471. Direct download [147 KB, free GNU]:
  472. ftp://ftp.gcfl.net/freedos/fdisk/fdisk100.zip
  473. Courtesy of Brian Reifsnyder (reifsnyderb@mindspring.com) author of Free
  474. FDISK.
  475.  
  476. * XFDisk v0.9.3 Beta 16-bit for DOS, Win9x/NT/2000/ME/XP, Linux and OS/2
  477. partitions/resizes hard disks up to 1 TB, includes Boot Manager:
  478. http://www.mecronome.de/xfdisk/
  479. Direct download [41 KB, free GNU, English]:
  480. http://www.mecronome.de/xfdisk/files/xfd093en.zip
  481.  
  482. * TestDisk v4.1 16-bit for DOS, Win9x/NT/2000/ME/XP, Linux, BeOS, FreeBSD
  483. and NetWare checks/undeletes deleted/lost hard disk partitions:
  484. http://www.cgsecurity.org/testdisk.html
  485. Direct download [343 KB, free GNU]:
  486. http://www.cgsecurity.org/testdisk-4.1.zip
  487.  
  488. * PowerQuest Partition Magic v7.0 32 + 16 bit for Windows 9x/NT/2000/ME/XP,
  489. MS-DOS 5/6, OS/2 + Linux (retail):
  490. http://www.powerquest.com/partitionmagic/
  491. the ultimate hard disk partitioning tool, creates, deletes, moves, resizes,
  492. copies, merges, formats, converts, restores "on-the-fly" ANY hard disk
  493. partitions up to 2 TB (TeraBytes) without data loss, from an intuitive
  494. interface. You can even safely copy entire partitions to the destination of
  495. your choice, provided you have enough disk space. :)
  496. Supports: FAT16 [Win9x/NT/2000/ME/XP + DOS], FAT32 [Win98/OSR2/2000/ME/XP],
  497. NTFS [WinNT/2000/XP], HPFS [OS/2] + ext2 [Linux].
  498.  
  499. * PowerQuest Partition + Boot Record Info Tools 32-bit for Win9x/ME + for
  500. WinNT/2000/XP [335 KB + 337 KB, both free]:
  501. http://www.geocities.com/thestarman3/tool/FreeTools.html#PARTINFO
  502.  
  503. * SavePart v2.30 16-bit partition copy/save/restore tool for DOS:
  504. http://perso.club-internet.fr/guiboure/
  505. Direct download [588 KB, freeware]:
  506. http://perso.club-internet.fr/guiboure/savepart.zip
  507.  
  508. * MBRWork v1.06 16-bit MBR/EMBR save/restore tool for DOS:
  509. http://www.terabyteunlimited.com/utilities.html
  510. Direct download [15 KB, freeware]:
  511. http://www.terabyteunlimited.com/downloads/MBRWORK.ZIP
  512.  
  513. * FORMAT.EXE v0.85 16-bit [also part of FreeDOS: http://www.freedos.org/]
  514. improved Microsoft FORMAT.COM replacement for MS-DOS 5/6 and Windows 9x/ME
  515. [50 KB, free GNU]:
  516. http://www.23cc.com/programs/xmat085.zip
  517.  
  518. * Drive Rescue v1.9c 32-bit for Windows 9x/NT/2000/ME/XP FAT16/FAT32/NTFS hard
  519. drive data recovery tool and disk editor, highly customizable:
  520. http://home.arcor.de/christian_grau/rescue/
  521. Direct download [936 KB, freeware]:
  522. http://home.arcor.de/christian_grau/rescue/rescue.zip
  523.  
  524. IMPORTANT: Run these DOS partitioning tools ONLY from the native/real/true
  525. MS-DOS mode OUTSIDE Windows GUI, NOT from a DOS box/session/window INSIDE
  526. Windows, even full screen!
  527.  
  528. * 3rd party disk partitioning tools that provide support for FAT32X (retail):
  529. - Partition Magic v7.0:
  530. http://www.powerquest.com/partitionmagic/
  531. - Partition Commander v6.0 (includes System Commander Personal Edition):
  532. http://www.v-com.com/product/pc_ind.html
  533. FAT32/FAT32X partitions are NOT compatible with Microsoft's Drvspace/Dblspace
  534. compression scheme! The ONLY disk compression tool that recognizes (but does
  535. NOT compress) FAT32/FAT32X partitions/disks is included on the MS Windows
  536. 98/ME Setup cd-roms!
  537. So far there is NO disk compression scheme (software) able to compress/double
  538. FAT32/FAT32X partitions.
  539.  
  540. * Microsoft FAT32 Evaluation Tool included on the MS Windows 98 Setup cd-rom
  541. [56 KB, free]:
  542. http://www.microsoft.com/windows/downloads/bin/W98FAT32.EXE
  543. works also with Win95 B/C OSR 2.x, Win98 SE and WinME. Shows all your
  544. drives/partitions characteristics, sizes and the disk space saved should you
  545. decide to convert existing FAT16 partition(s)/disk(s) to FAT32.
  546.  
  547. UPDATE:
  548. "Thanks for the FAT32 analysis - very comprehensive and understandable. I have
  549. only one suggestion: You might consider a mention of users with Compressed
  550. Hard Drives who cannot use FAT32 and for whom Partition Magic is of little
  551. use. Of course, this applies to older machines with their small hard drives,
  552. but I read that the average age of PCs in use is about 3 years with many
  553. machines well past the 5 year mark. Many of these probably can't or don't run
  554. Win9x for various reasons, but for those who do, the substitute to FAT32 is
  555. DriveSpace which comes with Microsoft Plus! for Win95 [the Desktop Themes and
  556. Pinball game are just space-wasting fluff to those with little hard-drives].
  557. As a result of using DriveSpace [on a 250MB hard drive] the cluster size on C:
  558. is 8,192 bytes and on H: [C:'s Host drive] is 4,096 bytes. The other caveat -
  559. minimize cluster waste by deleting unused files, zip several files together
  560. where appropriate and send files/programs off to portable drives if possible.
  561. If the user is stuck with a small hard-drive apply a "hard-drive" worthy test
  562. to every file that is added."
  563. [Thank you Ojatex (Ojatex@aol.com)!]
  564.  
  565. Below are detailed ALL available FDISK parameters, including the UNDOCUMENTED
  566. + HIDDEN ones:
  567.  
  568.  
  569.  
  570.             FDISK.EXE HIDDEN PARAMETERS
  571.  
  572.  
  573.  
  574. WARNINGS:
  575. - BACKUP ALL YOUR DATA TO A SAFE LOCATION FIRST!
  576. - Use ALL FDISK.EXE command line switches with CAUTION, ONLY from native/real
  577. MS-DOS mode, NOT from a Windows DOS box/session prompt, even full screen!
  578.  
  579.  
  580. 1. FDISK /FPRMT [Windows 95B OSR 2.0 + MS-DOS 7.10 and above ONLY]
  581.  
  582.  
  583. FDISK /FPRMT bypasses the FDISK startup screen, but enables interactive
  584. FAT16/FAT32 support. This can be used to force FDISK to create FAT32
  585. partitions smaller than 512 MB, normally not possible by default.
  586.  
  587.  
  588. 2. FDISK x /PRI:n (/PRIO:n) /EXT:n /LOG:n (/LOGO:n) [MS-DOS 6.00 and above
  589. ONLY]
  590.  
  591.  
  592. FDISK x /PRI:n (or /PRIO:n) /EXT:n /LOG:n (or /LOGO:n) MUST be used together
  593. for proper operation.
  594. Meaning:
  595. x = drive number: 1, 2, 3... etc. Drive 1 corresponds to the 1st hard disk
  596. installed (C), drive 2 to second hard disk (D)... etc.
  597. /PRI:n = creates a primary partition of size n (in MegaBytes) and makes it
  598. bootable (active).
  599. /PRIO:n = creates a primary partition of size n (in MegaBytes) and makes it
  600. bootable (active) while overriding FAT16/FAT32.
  601. /EXT:n = creates an extended partition of size n (in MegaBytes) which holds
  602. logical partition(s).
  603. /LOG:n = creates a logical drive in the extended partition of size n (in
  604. MegaBytes).
  605. /LOGO:n = creates a logical drive in the extended partition of size n (in
  606. MegaBytes) while overriding FAT16/FAT32.
  607. If using FAT16 maximum size allowed is 2,047 MB (2 GigaBytes).
  608. If using FAT32 maximum size allowed is 2,047 GB (2 TeraBytes).
  609. NOTES:
  610. - Maximum partition size MUST be equal to or smaller than existing free disk
  611. space.
  612. - /EXT:n and /LOG:n (or /LOGO:n) partition sizes MUST be identical.
  613. - Only one FDISK "LOG" is allowed per EACH logical drive! Therefore on
  614. computers with more than one logical drive you MUST run a separate FDISK x
  615. /LOG:n (or /LOGO:n) command for EACH installed drive.
  616. - ONLY IF using Windows 95B OSR 2.0 + MS-DOS 7.10 or newer: /PRI:n and
  617. /LOG:n default to FAT32 on partitions larger than 512 MB, or to FAT16 on
  618. partitions smaller than 512 MB. /PRIO:n and /LOGO:n default to FAT16 even
  619. on partitions larger than 512 MB, same as older MS-DOS 5.00/6.xx FDISK.
  620. - ONLY Windows 95 B/C OSR 2.0 - 2.5, 98, 98 SE, 2000, ME, XP and .Net
  621. support FAT32.
  622. - Use /LOGO:n instead of /LOG:n and/or /PRIO:n instead of /PRI:n to ignore
  623. FAT information in case of disk access errors.
  624.  
  625.  
  626. 3. FDISK /MBR [MS-DOS 6.00 and above ONLY]
  627.  
  628.  
  629. FDISK /MBR recreates the boot sector of the first (bootable) hard disk
  630. overwriting it with a fresh copy, by writing a new Master Boot Record (MBR)
  631. based on existent disk structure, without altering the partition table
  632. information.
  633. Can be used to repair a damaged/corrupted MBR (i.e. by a virus).
  634.  
  635. FYI:
  636. - Official MSKB info:
  637. http://support.microsoft.com/support/kb/articles/q69/0/13.asp
  638. - Master Boot Records:
  639. http://www.geocities.com/thestarman3/asm/mbr/MBR_in_detail.htm
  640. - Partition Table, MBR + Drive Overlays:
  641. http://powerjoe.tripod.com/MBR.html
  642.  
  643. WARNING:
  644. Writing the master boot record to the hard disk in this manner can render
  645. certain hard disks partitioned with SpeedStor unusable! It can also cause
  646. problems for some dual-boot programs (including Windows 95), or for disks
  647. with more than 4 partitions!
  648.  
  649. The DEFINITION of MBR:
  650. During the bootup sequence, at the end of the ROM BIOS bootstrap routine,
  651. the BIOS will read and execute the first physical sector of the first
  652. available floppy or hard drive on the system. This sector is called the
  653. Master Boot Record (MBR), or Master Boot Block (MBB), or Partition Table.
  654. A small program is stored at the beginning of this sector and the partition
  655. table is stored at the end of this sector. This program uses the available
  656. partition information to determine which partition is bootable (usually the
  657. first primary DOS/WIN partition) and attempts to boot from it.
  658.  
  659. NOTE: The largest partition MS-DOS begining with release 5.00 and up to
  660. Windows 95a OSR1 versions of FDISK can create/recognize is 2 GB (GigaBytes).
  661. The 2 GB partition limit has been overcome by Microsoft (FINALLY!), begining
  662. with Windows 95B OSR 2.0. Named the FAT32 file system, it supports
  663. partitions/drives up to 2 TB (TeraBytes).
  664. Windows NT/2000/XP/.Net have their own 32-bit protected file system called
  665. NTFS, INCOMPATIBLE with FAT32 or FAT16!
  666.  
  667.  
  668. THE WINDOWS 95 AND 95a OSR1 "MBR REFRESH" BUG
  669.  
  670.  
  671. There is a problem when installing a new hard drive on your system under
  672. Windows 95 [original retail] or 95a OSR1 [upgraded with SP1].
  673. If you upgraded from MS-DOS 5.00 (or earlier), your primary hard disk,
  674. formatted under your old version of MS-DOS, contains the MBR (the Master Boot
  675. Record, also called the boot sector) written by the hard disk formatting
  676. utility (FDISK) provided with MS-DOS. When you add another hard disk under
  677. Win95, you format and partition it with the Win95/OSR1 (MS-DOS 7.00) version
  678. of FDISK.
  679. This means that each drive was formatted and partitioned under a different OS.
  680. Windows 95 WON'T RECOGNIZE YOUR DRIVE! There is nothing wrong, don't panic. :)
  681. It's "just" another glitch in the OS, something Microsoft overlooked!
  682. When a drive is formatted/partitioned under Win95/OSR1, the MBR tells the OS
  683. that the drive is a Windows drive. If your drive was formatted/partitioned
  684. under an earlier version of MS-DOS (3.0 - 6.22), the drive is recognized as an
  685. MS-DOS drive.
  686. All you have to do is refresh the MBR, by running FDISK (the Win95/OSR1
  687. version) with the UNDOCUMENTED /MBR switch (repairs a boot sector by
  688. overwriting it with a fresh copy), on the old drive. Just run:
  689. FDISK /MBR
  690. The boot record (MBR) will be refreshed without reformatting the drive or
  691. losing any data!
  692. I presumed that your primary (old) hard disk has assigned the letter C (single
  693. logical partition) and your new (secondary) hard disk is D (also with a single
  694. logical partition). Change the drive letters if different on your system (and
  695. if you have more than one partition per each hard disk).
  696. This can ONLY be done from the real (native) MS-DOS mode, after you exit
  697. Win95/OSR1 to MS-DOS, or when you boot with the "Command prompt only" option
  698. from the Startup Menu.
  699. If the Win95 OS doesn't recognize the new drive, then you can ONLY do this
  700. after rebooting into the old MS-DOS version (using the dual-boot feature
  701. implemented into Win95 OS). This means you need to have kept your old MS-DOS
  702. 6.xx files (including FDISK) on your primary (old) hard disk.
  703. You also need to have kept the old drive as primary (master) and setup the
  704. new one as secondary (slave).
  705. Reboot your system when done. Your (newly installed) hard drive should be
  706. recognized by the OS from now on.
  707. Now you can change the new drive to "master" (primary boot drive) and setup
  708. the old one as "slave", especially if the new one is faster.
  709. Sounds pretty complicated, but you may have to do this some day, and it's
  710. better than reformatting the entire drive, and losing precious data.
  711. There is still another way to refresh/fix the MBR: run the Windows Scandisk
  712. tool (C:\Windows\Scandskw.exe) on ALL hard drives on your system. It will
  713. automatically refresh the MBR, as needed, if the MBR is damaged.
  714. A MUST:
  715. Install Microsoft Windows 95 and 95a OSR1 LBA and INT13 IDE Hard Disk Data
  716. Loss DISKTSD.VXD Fix:
  717. http://support.microsoft.com/support/kb/articles/q148/8/21.asp
  718. DSKTSUPD.EXE [147 KB]:
  719. ftp://ftp.microsoft.com/softlib/mslfiles/DSKTSUPD.EXE
  720. More info:
  721. http://www.firmware.com/support/bios/w95partn.htm
  722.  
  723. NOTE: The "MBR BUG" does NOT affect Windows 95 B/C OSR 2.x, 98/98 SE(U) or
  724. ME.
  725.  
  726. FYI:
  727. Partition Magic by Powerquest:
  728. http://www.powerquest.com/partitionmagic/
  729. overcomes the above Windows 95/OSR1 limitation, and makes ANY hard drive
  730. compatible with ANY Microsoft operating system and ANY FAT system (and much
  731. more). Retails for $30-60 at most computer stores. IMHO it's worth every
  732. penny, it saved my "computing life" more than once! :)
  733. Partition Magic supports OSR2/Win98/98 SE/ME FAT32/FAT32X and WinNT/2000/XP
  734. 32-bit NTFS file system standards.
  735.  
  736.  
  737. 4. FDISK /Q [MS-DOS 6.00 and above ONLY]
  738.  
  739.  
  740. FDISK /Q prevents rebooting the computer automatically after altering the
  741. partition information by using FDISK with other parameters.
  742.  
  743.  
  744. 5. FDISK /STATUS [MS-DOS 5.00 and above ONLY]
  745.  
  746.  
  747. FDISK /STATUS displays a screen similar to using FDISK's option 4: "Partition
  748. information", but shows also extended partition information (if any).
  749.  
  750.  
  751. 6. FDISK /X [Windows 95 + MS-DOS 7.00 and above ONLY]
  752.  
  753.  
  754. FDISK /X limits disk access to a total of 8.4 GB even on larger physical
  755. drives, even if the BIOS supports INT13h extensions for hard disks over 8.4
  756. GB, thus preventing the use of 0E and 0F partition types, by ignoring LBA
  757. (Logical Block Addressing) and extended disk information.
  758. This makes possible disk partitioning on computers with older BIOSes without
  759. support for hard disks larger than 8.4 GB.
  760. Use /X to start FDISK if you receive disk access, stack overflow and/or data
  761. corruption error messages.
  762.  
  763.  
  764. 7. FDISK /ACTOK [Windows 95B OSR 2.0 + MS-DOS 7.10 and above ONLY]
  765.  
  766.  
  767. FDISK /ACTOK skips disk integrity checking, thus speeding up the partitioning
  768. process.
  769.  
  770.  
  771. 8. FDISK /CMBR x [MS-DOS 6.00 and above ONLY]
  772.  
  773.  
  774. FDISK /CMBR x MUST be used together for proper operation. Recreates the boot
  775. sector of the second, third... etc hard disk(s) (if any) overwriting it (them)
  776. with a fresh copy, by writing a new Master Boot Record (MBR) based on existent
  777. disk structure, without altering the partition table information.
  778. Valid values for x:
  779. - 1 = first (bootable) physical hard disk (same as using FDISK /MBR):
  780. FDISK /CMBR 1
  781. - 2 = second (not bootable) physical hard disk (if any):
  782. FDISK /CMBR 2
  783. - 3 = third (not bootable) physical hard disk (if any):
  784. FDISK /CMBR 3
  785. - ... etc.
  786. Can be used to repair a damaged/corrupted MBR (i.e. by a virus).
  787.  
  788.  
  789. 9. FDISK /PARTN [MS-DOS 6.00 and above ONLY]
  790.  
  791.  
  792. FDISK /PARTN saves the partition information to a plain text file called
  793. PARTSAV.FIL, which can be viewed afterwards using any text editor/viewer, like
  794. EDIT.COM in DOS or Notepad in Windows.
  795.  
  796.  
  797. 10. FDISK /PRMT [MS-DOS 6.00 and above ONLY]
  798.  
  799.  
  800. FDISK /PRMT adds extra prompt ["nagging" :)] screens which require user input
  801. (key press) before proceeding further.
  802.  
  803.  
  804.  
  805.             FORMAT.COM HIDDEN PARAMETERS
  806.  
  807.  
  808.  
  809. FORMAT.COM is an external MS-DOS command, located by default in
  810. C:\Windows\Command [Windows 95/98/ME] or in C:\DOS [MS-DOS 6.00 - 6.22].
  811. IMPORTANT: To become familiar with FORMAT.COM's command line switches (the
  812. documented ones anyway), run one of these commands from any DOS prompt:
  813. FORMAT /?
  814. or:
  815. HELP FORMAT
  816. to display the FORMAT.COM help screen.
  817.  
  818.  
  819. 1. FORMAT drive: /AUTOTEST [MS-DOS 5.00 and above ONLY]
  820.  
  821.  
  822. FORMAT drive: /AUTOTEST checks for the existing format of your disk, unless
  823. the /U (UNCONDITIONAL) parameter is also used [MS-DOS 5.00 and above ONLY],
  824. and then proceeds with an UNATTENDED DISK(ETTE) FORMAT:
  825. - DOES NOT prompt for a volume label!
  826. - DOES NOT prompt to format another disk(ette)!
  827. - NO delay: NO user intervention!
  828. - Ends WITHOUT pausing!
  829. After completion, it DOES display disk space statistics.
  830. WARNING: This works on BOTH hard and floppy drives!
  831.  
  832.  
  833. 2. FORMAT drive: /BACKUP [MS-DOS 5.00 and above ONLY]
  834.  
  835.  
  836. FORMAT drive: /BACKUP works exactly like /AUTOTEST, applies ONLY to floppy
  837. diskettes, but it DOES prompt the user for a volume label, and it DOES display
  838. disk space information upon completion.
  839.  
  840.  
  841. 3. FORMAT drive: /SELECT [MS-DOS 5.00 and above ONLY]
  842.  
  843.  
  844. FORMAT drive: /SELECT is similar to using the MIRROR command [a MS-DOS 5.00
  845. and earlier ONLY utility, removed from all MS-DOS releases begining with
  846. 6.00], and reads the disk(ette) system area (sector 0).
  847. In MS-DOS 4.0 FORMAT /SELECT has the same effect as FORMAT /BACKUP.
  848. [Thank you William Levak (wlevak@cyberspace.org)!]
  849.  
  850.  
  851. 4. FORMAT drive: /U [MS-DOS 5.00 and above ONLY]
  852.  
  853.  
  854. FORMAT drive: /U performs an UNCONDITIONAL format, which DESTROYS every byte
  855. of data on ANY hard disk/floppy by overwriting it with zeroes (hex F6h).
  856. WARNING: ANY disk(ette) formatted using /U canNOT be UNFORMATTED!
  857.  
  858.  
  859. 5. FORMAT drive: /SELECT /U [MS-DOS 5.00 and above ONLY]
  860.  
  861.  
  862. FORMAT drive: /SELECT /U makes a disk(ette) UNREADABLE by filling the system
  863. area (sector 0) with zeroes (hex F6h), due to using these two incompatible
  864. options together. All other sectors are left intact.
  865. [Thank you William Levak (wlevak@cyberspace.org)!]
  866. WARNING: NEVER use these two FORMAT switches TOGETHER on ANY drive!
  867.  
  868.  
  869. 6. FORMAT drive: /Z:n [Windows 95B OSR 2.0 + MS-DOS 7.10 and above ONLY]
  870.  
  871.  
  872. FORMAT drive: /Z:n formats a FAT32 drive with a cluster size of n times 512
  873. Bytes. Meaning:
  874. drive: = your hard drive letter: C:, D:, E:... etc.
  875. n = number of sectors per cluster multiplied by 512 (cluster size in Bytes).
  876. Examples:
  877. n = 1    creates a 512 Bytes cluster;
  878. n = 2    creates a 1024 Bytes (1 KB) cluster;
  879. n = ?    creates a ? x 512 = ???? Bytes (???? bytes : 1024 = ? KB) cluster.
  880. You can modify the size of the allocation units (sectors) on a FAT32 drive to
  881. your heart desire.
  882. WARNING: It is NOT recommended to change the default cluster size, because
  883. some programs such as disk-repair/anti-virus tools may STOP working properly!
  884.  
  885.  
  886.  
  887.             HIMEM.SYS HIDDEN PARAMETERS
  888.  
  889.  
  890.  
  891. HIMEM.SYS is the Microsoft high/upper/extended memory manager, located by
  892. default in C:\Windows [Windows 95/98/ME], or in C:\DOS [MS-DOS 5.00 - 6.22].
  893. MS Windows (ANY release) canNOT start without HIMEM.SYS loaded!
  894. HIMEM.SYS can be loaded ONLY in CONFIG.SYS using the DEVICE command. Example:
  895. DEVICE=drive:\path\HIMEM.SYS /TESTMEM:OFF /Q
  896. HIMEM.SYS's DEVICE line MUST appear in Config.sys before ANY other device
  897. drivers loaded with DEVICE, DEVICEHIGH, INSTALL or INSTALLHIGH, including
  898. EMM386.EXE.
  899. HIMEM.SYS provides access to the High Memory Area (HMA), Upper Memory Area
  900. (UMA) and coordinates the use of the computer's extended memory, so that no
  901. two programs or device drivers use the same memory area at the same time.
  902. IMPORTANT: To become familiar with HIMEM.SYS's command line switches (the
  903. documented ones anyway):
  904. - Windows 95/98/ME users: use Notepad to read the "HIMEM.SYS" topic in
  905. MSDOSDRV.TXT, a text file located in your Windows folder.
  906. - MS-DOS 6.xx users: run this command from any DOS prompt:
  907. HELP HIMEM.SYS
  908. and read the topic.
  909. NOTE: Read also the HIMEM.SYS related topics in MEMORY.TXT and EMM386.TXT
  910. (both included).
  911.  
  912.  
  913. DEVICE=drive:\path\HIMEM.SYS /Q [MS-DOS 6.00 and above ONLY]
  914.  
  915.  
  916. HIMEM.SYS /Q (QUIET) disables the display of HIMEM.SYS loading status during
  917. bootup. Only error messages will be shown, IF the Logo=0 line exists in
  918. MSDOS.SYS, under the [Options] section, valid ONLY for Windows 95/98/ME OS.
  919. This switch is valid ONLY for HIMEM.SYS versions 3.10 [MS-DOS 6.00 - 6.22] up
  920. to 3.95 [MS Windows 95/98/ME, a.k.a. MS-DOS 7.00/7.10/8.00].
  921. Example:
  922. DEVICE=C:\WINDOWS\HIMEM.SYS /Q
  923.  
  924.  
  925.  
  926.             MEM.EXE HIDDEN PARAMETERS
  927.  
  928.  
  929.  
  930. MEM.EXE is an external MS-DOS command, located by default in
  931. C:\Windows\Command [Windows 95/98/ME] or in C:\DOS [MS-DOS 6.00 - 6.22].
  932. IMPORTANT: To become familiar with MEM.EXE's command line switches (the
  933. documented ones anyway), run one of these commands from any DOS prompt:
  934. MEM /?
  935. or:
  936. HELP MEM
  937. to display the MEM.EXE help screen.
  938.  
  939.  
  940. MEM /A [MS-DOS 6.00 and above ONLY]
  941.  
  942.  
  943. MEM /A (ALL) displays a short summary screen of your memory configuration and
  944. also the status of the HMA.
  945. HMA (High Memory Area) is a little known 64 KB area just above the first
  946. MegaByte (1 MB = 1,024 KB = 1,048,576 Bytes) of RAM as mapped by Microsoft
  947. HIMEM.SYS memory manager or another 3rd party upper/extended/expanded memory
  948. manager, like Quarterdeck QEMM386, Helix NetRoom RM386, Qualitas 386MAX,
  949. Lineo DR-DOS EMM386 etc.
  950. Part of the DOS resident module and DOS BUFFERS usually load into the HMA,
  951. ONLY IF this memory region is free at bootup.
  952. Example of MEM /A output display (only the HMA info shown here):
  953.  
  954. "Available space in High Memory Area    1K    (944 bytes)
  955. MS-DOS is resident in the high memory area."
  956.  
  957. To display all available memory configuration at a DOS prompt, run:
  958. MEM /A /C /P
  959. or if you prefer technical details (conventional/upper memory regions map and
  960. exact hex addresses where all loaded devices/drivers/TSRs reside), run:
  961. MEM /D /P
  962. NOTE: High DOS is enabled by this CONFIG.SYS line (the "HIGH" switch):
  963. DOS=HIGH,UMB
  964.  
  965.  
  966.  
  967.               VER HIDDEN PARAMETERS
  968.  
  969.  
  970.  
  971. VER is an internal MS-DOS command, built into COMMAND.COM. An actual file does
  972. not exist.
  973. IMPORTANT: To become familiar with VER's command line switch (the documented
  974. one anyway), run one of these commands from any DOS prompt:
  975. VER /?
  976. or:
  977. HELP VER
  978. valid for all MS-DOS 6.xx and Windows 95/98/ME users.
  979.  
  980.  
  981. VER /R [MS-DOS 5.00 and above ONLY]
  982.  
  983.  
  984. VER /R (REVISION) displays extended DOS info: the DOS revision and the memory
  985. location of the DOS module, in addition to using the plain VER command.
  986. Example of screen output for plain VER command (using Win98 SE + MS-DOS
  987. 7.10):
  988.  
  989. "Windows 98 [Version 4.10.2222]"
  990.  
  991. Example of screen output for VER /R command (using Win98 SE + MS-DOS 7.10):
  992.  
  993. "Windows 98 [Version 4.10.2222]
  994. Revision A
  995. DOS is in HMA"
  996.  
  997.  
  998.  
  999.             WIN.COM HIDDEN PARAMETERS
  1000.  
  1001.  
  1002.  
  1003. WIN.COM is the Windows GUI (Graphical User Interface) command line executable,
  1004. located in C:\Windows (default).
  1005. IMPORTANT: To become familiar with WIN.COM's command line switches (the
  1006. documented ones anyway), run:
  1007. WIN /?
  1008. from any DOS prompt, to display the WIN.COM help screen.
  1009. See also the "Windows 95/98 Win.com Command-Line Switches" MSKB article:
  1010. http://support.microsoft.com/support/kb/articles/q142/5/44.asp
  1011. ... And these related topics:
  1012. - "WIN.COM SWITCHES" in MYTIPS95.TXT,
  1013. - "CORRUPTED WIN.COM" in TIPS95.TXT and
  1014. - "BLANK WIN.COM" in MYTIPS95.TXT,
  1015. part of W95-11D.ZIP:
  1016. http://members.aol.com/axcel216/95.htm
  1017. NOTE: Microsoft removed ALL WIN.COM undocumented switches detailed below from
  1018. Windows ME!
  1019.  
  1020.  
  1021. 1. WIN /W [Windows 95 and above ONLY]
  1022.  
  1023.  
  1024. WIN /W generates this message:
  1025.  
  1026. "Press any key to continue...
  1027. Pressing a key reboots the system back to Windows 95 (98)."
  1028.  
  1029. waiting for user input (key press), and then restarts the computer (warm
  1030. reboot), restoring the original CONFIG.SYS and AUTOEXEC.BAT files in the root
  1031. directory of the boot drive from CONFIG.WOS and AUTOEXEC.WOS (if any).
  1032. This is useful when the computer is restarted after interrupting a "single"
  1033. mode MS-DOS session, because of this CONFIG.SYS line:
  1034. DOS=SINGLE
  1035. which does NOT allow Windows 95/98 GUI to load.
  1036. This switch works ONLY if executed from the native/real/true MS-DOS mode
  1037. OUTSIDE the Windows 95/98 GUI, NOT from WITHIN Windows in a DOS box/session.
  1038. NOTES:
  1039. 1. The .WOS files are created when you run a DOS based program that requires a
  1040. separate MS-DOS reboot setup (in "single" mode), and you have selected the
  1041. "Specify a new MS-DOS configuration" check box in the PIF file Properties tab.
  1042. 2. For more details see "MS-DOS PROMPT" in MYTIPS95.TXT [part of W95-11D.ZIP]:
  1043. http://members.aol.com/axcel216/95.htm
  1044.  
  1045.  
  1046. 2. WIN /WX [Windows 95 and above ONLY]
  1047.  
  1048.  
  1049. WIN /WX automatically restarts the computer (warm reboot), without prompting
  1050. or waiting for input (key press), and restores the original CONFIG.SYS and
  1051. AUTOEXEC.BAT files in the root directory of the boot drive from CONFIG.WOS and
  1052. AUTOEXEC.WOS (if any). This is useful when the computer is restarted after
  1053. interrupting a "single" mode MS-DOS session, because of this CONFIG.SYS line:
  1054. DOS=SINGLE
  1055. which does NOT allow Windows 95/98 GUI to load.
  1056. This switch works ONLY if executed from the native/real/true MS-DOS mode
  1057. OUTSIDE the Windows 95/98 GUI, NOT from WITHIN Windows in a DOS box/session.
  1058. NOTES:
  1059. 1. The .WOS files are created when you run a DOS based program that requires a
  1060. separate MS-DOS reboot setup (in "single" mode), and you have selected the
  1061. "Specify a new MS-DOS configuration" check box in the PIF file Properties tab.
  1062. 2. For more details see "MS-DOS PROMPT" in MYTIPS95.TXT [part of W95-11D.ZIP]:
  1063. http://members.aol.com/axcel216/95.htm
  1064.  
  1065.  
  1066. 3. WIN /Z [Windows 95B OSR 2.1 and above ONLY]
  1067.  
  1068.  
  1069. WIN /Z automatically forces the ATX power supply to (soft-)power off the
  1070. computer ONLY on ATX motherboards, without prompting or waiting for input (key
  1071. press).
  1072. This switch works ONLY if executed from the native/real/true MS-DOS mode
  1073. OUTSIDE the Windows GUI, NOT from WITHIN Windows in a DOS prompt/box/session.
  1074. This DOS secret suggested by Shaminda Samaratunge (shaminda@asia.com).
  1075.  
  1076.  
  1077. 4. WIN : [Windows 3.xx + WfWG 3.1x ONLY]
  1078.  
  1079.  
  1080. WIN : starts Windows 3.xx or Windows for WorkGroups 3.1x WITHOUT displaying
  1081. the startup logo (RLE encoded, 16 colors).
  1082. This switch works ONLY if executed from the native/real/true MS-DOS mode
  1083. OUTSIDE the Windows/WfWG GUI, NOT from WITHIN Windows/WfWG in a DOS
  1084. prompt/box/session.
  1085. WARNING: This switch may cause sudden lockups with some older video
  1086. controllers!
  1087. NOTE: To learn about another (safe) method of starting Windows/WfWG 3.1x
  1088. without a logo, read NEWLOGO.TXT [part of W31-11D.ZIP]:
  1089. http://members.aol.com/axcel216/31.htm