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

  1.              AXCEL216's MAX Speeed
  2.     Key Remapping + DOSSHELL ⌐Tips for the DOS fanatics! ;-)
  3.  
  4.  
  5.  
  6.  
  7. These topics refer STRICTLY to ALL Microsoft Windows 95/98/ME [a.k.a. MS-DOS
  8. 7.00/7.10/8.00] + MS-DOS 5.00/6.xx final (Gold) releases, unless specified
  9. otherwise!
  10.  
  11. Please send me your comments, corrections, tips at:
  12. axcel216@aol.com
  13.  
  14.  
  15. DOSTIPS.TXT Contents:
  16.  
  17.  
  18. F1-F12 Remapping = MS-DOS Mode + ANSI Driver
  19. MS DOSSHELL = MS-DOS "File Manager"
  20.  
  21.  
  22. DOS tips on the Internet:
  23. - PC Forrest MS-DOS 7/8 Tips:
  24. http://www.forrestandassociates.co.uk/pcforrest/ms-dos.html
  25. - Rob's Scripting Pages:
  26. http://www.robvanderwoude.com/
  27. - MS-Dos7 Commands:
  28. http://www3.sympatico.ca/rhwatson/dos7/
  29. - NOTES ON MS-DOS 6.22:
  30. http://2dos.homepage.dk/batutil/help/INDEX.HTM
  31. - The Useful Site - DOS tips:
  32. http://www.theusefulsite.com/dos.htm
  33. ______________________________________________________________________________
  34.  
  35.  
  36.  
  37.         F1-F12 Remapping = MS-DOS Mode + ANSI Driver
  38.  
  39.  
  40.  
  41. These key remapping tips are valid for ALL MS-DOS releases starting with 5.00
  42. up to 8.00 [MS-DOS 7.00 is bundled with Windows 95 (retail) and 95a OSR1
  43. (upgraded with SP1), MS-DOS 7.10 is included with Windows 95 B/C OSR 2.x and
  44. Windows 98/98 SE(U), and MS-DOS 8.00 comes with Windows ME), and they work
  45. ONLY on 101-107 (or more) extended serial, PS/2 and USB keyboards (with or
  46. without extra Win95/Win98 keys), ONLY with an ANSI DOS CONsole device
  47. driver/accelerator loaded in memory!
  48. This may also be achieved using older MS-DOS and/or 3rd party (DR-DOS, PC-DOS,
  49. FreeDOS, Novell DOS, IBM DOS etc) releases, but I haven't tried any.
  50.  
  51. IMPORTANT:
  52. Microsoft REMOVED COMPLETELY the access to native/real MS-DOS mode from
  53. Windows Millennium Edition (ME), a.k.a. MS-DOS 8.00. :(
  54. But you CAN get it back [:)] by applying the Unofficial WinME Real DOS-Mode
  55. Patch [9 KB, freeware]:
  56. http://www.geocities.com/mfd4life_2000/
  57. which modifies COMMAND.COM + IO.SYS (from C:\Windows\Command\EBD) +
  58. REGENV32.EXE (from C:\Windows\System) to allow Windows ME to boot to native
  59. MS-DOS and use custom DOS mode startup files (AUTOEXEC.BAT + CONFIG.SYS), the
  60. Windows 95/98 style.
  61.  
  62. The included KEY.TXT and X.TXT files are plain ANSI batch files (ASCII text
  63. files) designed to reassign the "extra" function keys: from F1 to F12 on
  64. extended keyboards, using ANSI driver capabilities.
  65.  
  66. FYI: If you don't know what these abbreviations mean (ANSI, ASCII, RAM, TSR,
  67. UMB, VGA etc), please look them up in GLOSSARY.TXT (included).
  68.  
  69. First, you need to load Microsoft ANSI.SYS device driver in your CONFIG.SYS
  70. with the /X switch, to enable DOS mode key remapping, AFTER the lines that
  71. load the Microsoft HIMEM.SYS + EMM386.EXE "combo" or a 3rd party memory
  72. manager capable of providing Upper Memory Blocks (UMBs) for loading
  73. devices/drivers/TSRs "high": UMBPCI.SYS, QEMM386.SYS, RM386.EXE, 386MAX.SYS
  74. etc.
  75. MS ANSI.SYS occupies 4.2 KB of (upper) DOS RAM.
  76.  
  77. TIP: See MEMORY.TXT (included) for memory management guidelines to learn how
  78. to MAXimize your memory resources in DOS + Windows.
  79.  
  80. ANSI.SYS CONFIG.SYS line (default install directories used here):
  81.  
  82. - MS-DOS 6.00 - 6.22 users:
  83.  
  84. DEVICEHIGH=C:\MSDOS\ANSI.SYS /X
  85.  
  86. - MS Windows 95/98/ME [a.k.a. MS-DOS 7.xx/8.00] users:
  87.  
  88. DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS /X
  89.  
  90. The "/X" switch allows extended keys to be remapped independently on 101 (or
  91. more) keyboards.
  92.  
  93. If using MS DISPLAY.SYS to display DOS mode international (in a language other
  94. than English) character sets, make sure to position the ANSI.SYS line AHEAD of
  95. the DISPLAY.SYS command in your CONFIG.SYS (example):
  96.  
  97. DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS /X
  98. COUNTRY=040,852,C:\WINDOWS\COMMAND\COUNTRY.SYS
  99. DEVICEHIGH=C:\WINDOWS\COMMAND\DISPLAY.SYS CON=(EGA,852,2)
  100.  
  101. Alternatively you can use any other compatible ANSI device driver that has the
  102. ability to remap the extended keys: F1 - F12 (and/or any other keys, if you
  103. like) to replace Microsoft's default ANSI.SYS.
  104.  
  105. 1. An excellent example (the BEST in my opinion) is Daniel Kegel's NANSI.SYS
  106. v3.4 DOS CONsole Driver Accelerator, fastest and most versatile replacement
  107. for MS ANSI.SYS, with built-in support for key remapping [60 KB, free GNU]:
  108. http://www.kegel.com/nansi34.zip
  109. NANSI.SYS takes only 3.3 KB of upper DOS RAM if loaded with DEVICEHIGH in
  110. CONFIG.SYS (example using NANSI.SYS command line switches to enable key
  111. remapping):
  112.  
  113. DEVICEHIGH=drive:\dir\NANSI.SYS /K /X
  114.  
  115. 2. Another good alternative is PC Magazine's ANSI.COM v1.3 [28 KB, free]:
  116. http://www.pcmag.com/article/0,,a=26366,00.asp
  117. ANSI.COM has the advantage of being able to load/unload at will, ONLY IF it is
  118. the LAST TSR that loaded in memory. Therefore you can run ANSI.COM from
  119. AUTOEXEC.BAT or from the plain DOS prompt.
  120. BUG: If using ANSI.COM to assign EXIT (and probably any other internal DOS
  121. commands) to any of your remapped keys, the arrow keys will display invalid
  122. commands! :(
  123. ANSI.COM takes only 2.7 KB of upper memory if using LOADHIGH in AUTOEXEC.BAT
  124. (example):
  125.  
  126. LOADHIGH=drive:\dir\ANSI.COM
  127.  
  128. An upper/extended/expanded memory manager (see examples above) MUST be present
  129. in CONFIG.SYS for these ANSI devices to load in Upper Memory Area (UMA).
  130.  
  131. You can use ANSI.SYS, NANSI.SYS or ANSI.COM ASCII sequences to create colorful
  132. DOS prompts, start ANY DOS program (including Windows 9x/ME/3.xx) at the touch
  133. of a single key (by remapping the keys on enhanced 101-107 keyboards), and
  134. much more.
  135.  
  136. HINT: Sustitute ALL "drive" and "dir" instances in this document with the
  137. ACTUAL paths to your files... and don't type the quotes! ;)
  138.  
  139. Back to key remapping:
  140. You can add this command as the last line in your AUTOEXEC.BAT:
  141.  
  142. TYPE drive:\dir\KEY.TXT
  143.  
  144. After AUTOEXEC.BAT processing is finished (at the end of the boot sequence),
  145. press one of your function keys (F1 through F12) at the native/real DOS
  146. prompt, to start whatever DOS program you like (including internal MS-DOS
  147. commands, like: COPY, DEL, DIR, REN etc), and ANY MS Windows version that runs
  148. on top of MS-DOS (3.xx or 95/98/ME).
  149. Windows NT, 2000, XP and .Net have their own built-in MS ANSI.SYS, which can
  150. be loaded from a customized CONFIG.NT using the DEVICE(HIGH) command.
  151. If using these function keys shortcuts from a Windows DOS session/box, be
  152. CAREFUL which programs you run, so they won't interfere with Windows proper
  153. operation. Programs that are Long File Names (LFNs) and/or FAT32/NTFS unaware
  154. may damage your data under Windows 32-bit (Win32) OS, or BEWARE that some may
  155. not run, or even lockup Windows!
  156. To assign your own DOS commands to F1 - F12 in KEY.TXT, open it with EDIT.COM,
  157. and type in the commands you want inside the quote-unquote areas ("PROGRAM" ->
  158. replace with your actual program name), to substitute the ones already there.
  159.  
  160. LIMITATION:
  161. You need to use EDIT.COM (MS-DOS default ASCII/text editor/viewer) because
  162. Notepad (Windows default ASCII/text editor/viewer) does NOT display extended
  163. ASCII characters properly, like the ones I used in my KEY.TXT, X.TXT and
  164. CONFIG.SYS files (all included).
  165.  
  166. Leave NO spaces! Example:
  167.  
  168. $e[0;134;"WIN";13p
  169.  
  170. Make sure the DOS executables (.COM, .EXE)/batch files (.BAT) mentioned in
  171. KEY.TXT reside in a directory included in your PATH statement (set in your
  172. AUTOEXEC.BAT or CONFIG.SYS), otherwise you need to add their actual paths
  173. (drive letter + directory name) to the KEY.TXT command lines:
  174.  
  175. "drive:\dir\PROGRAM"
  176.  
  177. No need to mention the file extension if it is a standard DOS executable:
  178. .BAT, .COM or .EXE.
  179. It is advised to keep the command lines between quotation marks as short as
  180. possible. Too long command lines in KEY.TXT may result in "Out of environment
  181. space" error messages!
  182. If you DO get such messages anyway, you'll need to increase the size of your
  183. DOS environment, by adding/modifying the "SHELL=" line in your CONFIG.SYS.
  184. Edit CONFIG.SYS with EDIT.COM in DOS or Notepad in Windows. Example of
  185. CONFIG.SYS "SHELL=" lines:
  186.  
  187. - MS-DOS 6.00 - 6.22 users:
  188.  
  189. SHELL=C:\COMMAND.COM C:\ /E:1024 /P
  190.  
  191. - MS Windows 95/98/ME [a.k.a. MS-DOS 7.00/7.10/8.00] users:
  192.  
  193. SHELL=C:\COMMAND.COM C:\ /E:1024 /L:128 /U:128 /P
  194.  
  195. Make sure you have a copy of COMMAND.COM present in the root directory of your
  196. boot drive/partition (C:\) for this to work!
  197.  
  198. Save your CONFIG.SYS file when done (BUT BACK IT UP FIRST!), and then reboot,
  199. so the new command environment can take "charge".
  200.  
  201. You can also redefine ANY key functions from the DOS prompt.
  202. Just run something like this:
  203.  
  204. PROMPT $e[0;59;"MSD";13p
  205.  
  206. to start MSD.EXE (MicroSoft Diagnostics utility) by pressing F1 from any DOS
  207. prompt.
  208. To revert F1 to its original assignment, run:
  209.  
  210. PROMPT $e[0;59;;p
  211.  
  212. When done, you need to reenable your original DOS PROMPT (default is C:\>), by
  213. running:
  214.  
  215. PROMPT $P$G
  216.  
  217. To avoid such cumbersome changes to your DOS prompt, I recommend loading key
  218. remapping settings from your AUTOEXEC.BAT (example):
  219.  
  220. TYPE drive:\dir\KEY.TXT
  221.  
  222. FYI: "$e" is equivalent to using the "Esc" ASCII 27 character. To save memory,
  223. press and hold (in this specific order): Ctrl, P and the left square bracket
  224. ([) keys together in EDIT.COM to reproduce "$e" as a single character, which
  225. looks like a left pointing arrow.
  226.  
  227. You can assign DOS commands to ANY key on your keyboard as long as it doesn't
  228. interfere with any other functions that particular key might have (i.e. some
  229. of the function keys are remapped by Microsoft DOSKEY.COM TSR driver).
  230. To remap a key you need to learn its ASCII code. To observe the ANSI escape
  231. sequences, run:
  232.  
  233. - MS-DOS 6.00 - 6.22 + Windows 98/98 SE [a.k.a. MS-DOS 7.10] users:
  234.  
  235. HELP ANSI.SYS
  236.  
  237. - MS Windows 95/98/ME [a.k.a. MS-DOS 7.00/7.10/8.00] users:
  238.  
  239. MSDOSDRV.TXT
  240.  
  241. to open it in Notepad and read the "ANSI.SYS" topic.
  242.  
  243. Look at the ASCII codes by scrolling down towards the end of the ANSI.SYS
  244. topic. NANSI.SYS and ANSI.COM abide also by these same standard rules.
  245.  
  246. LIMITATION:
  247. Alt, Ctrl, Shift and the Win95/Win98 specific keys on 104 (or more) keyboards
  248. are the ONLY ones that canNOT be remapped this way!
  249.  
  250. Then open KEY.TXT with EDIT.COM in DOS or Notepad in Windows, and change a
  251. key's ASCII code to the one you want, to have that particular key start your
  252. favorite DOS program, or even start Windows from native MS-DOS. Example:
  253. change "WIN" to "MSD".
  254. To run certain DOS programs that rely on their own key mapping routines, you
  255. may need to temporarily disable key remapping and revert back to their
  256. original DOS key assignment. For this purpose I have created X.TXT (included).
  257. Run the following MS-DOS command to "deactivate" all remapped keys:
  258.  
  259. TYPE drive:\dir\X.TXT
  260.  
  261. FYI: Keys remapped/restored this way from a DOS box within Windows GUI apply
  262. ONLY to that particular DOS session. To make ALL remapped keys "globally"
  263. available to the system, run these commands from native/real/true/pure MS-DOS,
  264. or add them as last lines to your AUTOEXEC.BAT file.
  265.  
  266. You can also add the lines below to a batch file to start your DOS
  267. program/game, to temporarily disable key remapping (by loading X.TXT), run
  268. your application, and then add another TYPE command for KEY.TXT after your
  269. program's command line, to reassign your keys once again. Example:
  270.  
  271. @ECHO OFF
  272. TYPE drive:\dir\X.TXT
  273. drive:\dir\PROGRAM
  274. TYPE drive:\dir\KEY.TXT
  275.  
  276. You can rename X.TXT and KEY.TXT to whatever you want, just keep the .TXT
  277. extension for convenience. ;)
  278.  
  279. It's cool to assign your most used DOS commands to the function keys (F1 -
  280. F12), for running them with just a single keypress, thus saving precious time,
  281. and working more productively, instead of typing cryptic DOS commands that
  282. most of us don't need to remember anyway. [DOS fanatics make exception! :-)]
  283.  
  284. HINT: Consider sticking a paper template/map or self-adhesive stickers
  285. somewhere close to or on top of your F1 - F12 keys, to avoid memorizing your
  286. most used reassigned function key commands.
  287.  
  288. With ANSI.SYS (or similar driver) installed you can also benefit from being
  289. able to display custom colored DOS prompts, using the ANSI graphic escape
  290. sequences. For a few examples, take a peek at my CONFIG.SYS file (included)
  291. "SET PROMPT=" and "SET WINPMT=" lines, especially if you are a DOS
  292. afficionado, and you'd like to have fun(k)y looking/colored DOS prompts, like
  293. I do. ;)
  294.  
  295. Another example of cool DOS prompt, in which you can change different ANSI
  296. parameters to obtain "exotic" color effects and/or force the prompt bar to
  297. "dock" at the bottom of the screen instead of at the top: [;-)]
  298.  
  299. SET PROMPT=sH$P$G4H My Computer  Operating System $_u$P$G
  300.  
  301. Replace "My Computer" and "Operating System" strings above (without quotes)
  302. with your own, personalized text.
  303. And make sure your COMMAND.COM environment size is large enough to accomodate
  304. this long string, by adding/modifying the CONFIG.SYS "SHELL=" line (see
  305. examples further above).
  306.  
  307. ANSI resources on the Internet:
  308. - The ansi.sys device driver:
  309. http://life.homepage.dk/batfiles/b4ustart/ansisys.htm
  310. - The ANSI.SYS Device Driver:
  311. http://gatsby.tafe.tas.edu.au/batch/html/ansi.html
  312. - PC Forrest ANSI.SYS Tips:
  313. http://www.forrestandassociates.co.uk/pcforrest/ansi_sys.html
  314. - Dos7 Ansi.sys:
  315. http://www3.sympatico.ca/rhwatson/dos7/v-ansi-sys.html
  316.  
  317.  
  318.  
  319.            MS DOSSHELL = MS-DOS "File Manager"
  320.  
  321.  
  322.  
  323. Microsoft DosShell (DOSSHELL.EXE) is a DOS based (16-bit) graphical
  324. CGA/EGA/VGA "File Manager", task switcher/swapper and program launcher
  325. Menu/Shell Graphical User Interface (GUI) with full mouse support, almost as
  326. good as its MS Windows 95/98/NT/ME/3.xx counterpart at performing extensive
  327. disk/file routine operations. In fact both DOSSHELL and File Manager (FM =
  328. C:\Windows\Winfile.exe), its Windows GUI based "cousin", use similar "hot"
  329. keys/key "combos"/shortcuts (examples): Ctrl+click to select multiple separate
  330. files, Ctrl+Forward slash or Ctrl+Question mark to select all files in current
  331. directory, Shift+click to select multiple contiguous files, Alt+F4 (or F3 =
  332. specific to DosShell) to close/exit the interface, F1 for help menu etc.
  333. Microsoft first introduced DosShell begining with MS-DOS 4.00 (1991). LAST
  334. (and CURRENT/NEWEST release) was bundled with MS-DOS 6.00 (1993). MS did (and
  335. will) NOT issue ANY further updates or releases, because they consider it an
  336. obsolete DOS (legacy) 16-bit tool. :(
  337. A DOS mouse driver [see CTMOUSE.EXE under "FREE WinDOwS MOUSE DRIVERS + TOOLS"
  338. in SOFTWARE.TXT (included)] needs to be loaded in memory prior to starting
  339. DosShell in native MS-DOS mode, to take advantage of its built-in
  340. point-and-click and click-and-drag mouse functions.
  341.  
  342. Its main purpose is file and directory listing and manipulation (copy, create,
  343. delete, move, rename), program launcher (shell menu) and task swapper (program
  344. switcher).
  345. Two different directory trees (even located on different drives/partitions)
  346. can be displayed simultaneously, together with the launcher menu, all on the
  347. same screen.
  348. Task Swapping is an added bonus, making possible to load multiple
  349. programs/games in memory at the same time, and switching between them with the
  350. Alt+Tab key "combo". But because MS-DOS is a single task operating system and
  351. doesn't provide background execution nor multi-threading, only currently
  352. selected application can load into memory and run. DosShell's Task Swapper has
  353. the ability to dump the running program together with its operating state to a
  354. temporary disk file (DOSSWAP.SWP) and then load and run another program in the
  355. same memory space. When switching between tasks, the current task state is
  356. dumped to this file, and the other program operating state is loaded from the
  357. file, making possible to continue with the other task.
  358. CAUTION: DosShell is NOT capable of terminating hung/locked up applications.
  359. Therefore if using task swapping make sure to save your work BEFORE switching
  360. tasks!
  361.  
  362. DosShell requires a minimum of 384 KB of DOS memory for proper operation, and
  363. can use up to 500 KB, depending on the size of detected directory trees and
  364. number of files, because it always scans the current drive/partition structure
  365. upon startup, and then displays the entire directory tree, begining from the
  366. root directory. The Task Swapper function takes an additional 40 KB of RAM
  367. when enabled.
  368.  
  369. DosShell stores its settings in DOSSHELL.INI, a plain text/ASCII file found in
  370. the same directory as the DOSSHELL executable (DOSSHELL.EXE). If DOSSHELL.INI
  371. becomes corrupted or is missing, a new one will be created automatically next
  372. time DOSSHELL starts, but custom configurations will be lost in this case. :(
  373. DosShell can be used [among many other useful things :)] to rename/move
  374. (sub)directories or as a DOS mode "task switcher", cool features, otherwise
  375. not supported by the plain DOS prompt, without dedicated 3rd party tools.
  376. Older MS-DOS releases do not have the capability of renaming/moving
  377. directories/folders. Begining with MS-DOS 6.00, the only way to rename/move
  378. directories in DOS is to use MOVE.EXE, an external MS-DOS command. Examples:
  379.  
  380. - Renames a directory on the same drive/partition:
  381.  
  382. MOVE C:\OLDDIR C:\NEWDIR
  383.  
  384. - Moves a directory to a different drive/partition:
  385.  
  386. MOVE C:\MYDIR D:\
  387.  
  388. - Renames AND moves a directory to a different drive/partition:
  389.  
  390. MOVE C:\OLDDIR D:\NEWDIR
  391.  
  392. But MOVE (unlike DOSSHELL) canNOT rename the currently displayed directory or
  393. the directory inside which it resides. :(
  394. DOSSHELL does NOT use ANY MS-DOS built-in (internal) commands like: COPY, DEL,
  395. REN, MD, RD etc, but its own (native) routines for performing such tasks
  396. instead.
  397.  
  398. LIMITATION:
  399. DOSSHELL is NOT Long File Names (LFNs) aware! Therefore ANY LFN files/folders
  400. copied/moved by DOSSHELL will LOSE ALL LFNs information IF using MS Windows
  401. 95/98/NT/2000/ME/XP/.Net or ANY other LFNs capable OS!
  402.  
  403. For all MS DOSSHELL users I have included here my customized DOSSHELL.INI file
  404. with a list of fun(k)y color schemes. Enjoy. :)
  405. To use it, first BACKUP YOUR DOSSHELL.INI (i.e. rename it to DOSSHELL.INX),
  406. and then copy this one to your DosShell directory.
  407. Just make sure DOSSHELL is NOT running. :)
  408. Now to preview/change to one of my DOSSHELL color schemes: run DOSSHELL ->
  409. click Options -> select Colors -> scroll down to the desired color scheme ->
  410. click Preview -> click OK/hit Enter to keep it if you like it, or click
  411. Cancel/hit Esc to restore your original one.
  412.  
  413. To take a peek at my "Zen" custom DOSSHELL color scheme, open DOSSHELL.BMP
  414. with Paint Brush (PBRUSH.EXE) in Windows/WfWG 3.1x and NT 3.xx, MS Paint
  415. (MSPAINT.EXE) in Windows 95/98/NT4/ME/2000/XP/.Net, or your favorite graphic
  416. viewer/editor utility [see SOFTWARE.TXT (included) for examples].
  417. DOSSHELL.BMP is included ONLY with my Windows BitMaPs archive [1.82 MB,
  418. FREEware]:
  419. http://members.aol.com/axcel216/winfiles/MYBMPS.ZIP
  420. and can be used as Windows background wallpaper: 640x480 pixels, VGA, RGB
  421. encoded, 16 colors, 4-bit BitMaP.
  422. You can further edit my DOSSHELL.INI file using EDIT.COM in DOS or Notepad in
  423. Windows, and modify any colors in any of these color schemes to your liking.
  424. Allowed COLOR values are (case insensitive):
  425.  
  426. COLOR
  427. darkCOLOR
  428. brightCOLOR
  429.  
  430. Substitute the COLOR string above with an actual color name. Supported
  431. DOSSHELL color names (standard VGA color attributes):
  432.  
  433. black
  434. blue
  435. green
  436. cyan
  437. red
  438. magenta
  439. brown
  440. yellow
  441. white
  442. gray
  443.  
  444. You may find useful to add this line to your AUTOEXEC.BAT:
  445.  
  446. SET DOSSHELL=C:\SHELL
  447.  
  448. if your DOSSHELL files reside in a directory (C:\SHELL in this example) other
  449. than your default DOS/Windows directory, and if this directory is NOT included
  450. in the DOS PATH.
  451. This environment variable dictates the location of DOSSHELL.INI.
  452. If your DOSSHELL files are located in your DOS/Windows directory/folder or in
  453. any another directory listed on your "PATH=" line (specified in AUTOEXEC.BAT
  454. or CONFIG.SYS), you do NOT need to specify a "SET DOSSHELL=" line. DOSSHELL
  455. creates its temporary files in the directory mentioned on the "SET TEMP=" and
  456. "SET TMP=" lines, which can be modified/added to your startup files
  457. (AUTOEXEC.BAT or CONFIG.SYS).
  458. CONFIG.SYS supports SET commands ONLY in MS-DOS 6.00 and newer. Default
  459. TEMP(orary) directory is C:\MSDOS (or C:\DOS) for MS-DOS 4/5/6 or
  460. C:\WINDOWS\TEMP for Windows 95/98/ME if these lines are absent.
  461.  
  462. MS DosShell complete files list (as included with MS-DOS 6.00):
  463.  
  464. File Name    File Description
  465. ------------------------------------------------------------------------------
  466. DOSSHELL.COM    COMmand redirector (starts DOSSHELL.EXE) for compatibility
  467.         with older MS-DOS releases: you can safely delete it if using
  468.         MS-DOS 6.20 or newer
  469. DOSSHELL.EXE    DOSSHELL EXEcutable + interface (GUI)
  470. DOSSWAP.EXE    Internal task SWAPper + switcher helper: you can safely delete
  471.         it if not using Task Swapper from within DosShell
  472. DOSSHELL.GRB    Video mode GRaBber + detector
  473. DOSSHELL.HLP    HeLP menu
  474. DOSSHELL.INI    INItialization + configuration file
  475. DOSSHELL.VID    CGA/EGA/VGA text + graphics VIDeo driver
  476.  
  477. If DosShell's Task Swapper feature is enabled, DOSSWAP.EXE creates a temporary
  478. file (DOSSWAP.SWP) in the DosShell directory every time you switch between
  479. programs, writing (saving) the current program state to disk for future
  480. recovery. Normally the .SWP file is automatically erased upon exiting
  481. DosShell. But sometimes it persists even after DosShell is closed, taking up
  482. unnecessary disk space. In such cases you can safely delete it.
  483.  
  484. To start DOSSHELL in different text or graphics video modes, you can run the
  485. DOSSHELL executable from the DOS prompt (or from a dedicated batch file) with
  486. command line parameters. To see all DOSSHELL available switches, run:
  487.  
  488. DOSSHELL /?
  489.  
  490. This is the DOSSHELL help screen:
  491.  
  492. "Microsoft (R) DOS Version 6 MS-DOS Shell
  493. Copyright (c) Microsoft Corp 1993. All rights reserved.
  494.  
  495. Starts MS-DOS Shell.
  496.  
  497. DOSSHELL [/T[:res[n]]] [/B]
  498. DOSSHELL [/G[:res[n]]] [/B]
  499.  
  500. /T    Starts MS-DOS Shell in text mode.
  501. :res[n]    A letter (L, M, H) and number (n) indicating screen resolution.
  502. /B    Starts MS-DOS Shell using black-and-white color scheme.
  503. /G    Starts MS-DOS Shell in graphics mode."
  504.  
  505. These are all available DOSSHELL video modes that can be specified as command
  506. line parameters (case insensitive):
  507.  
  508. /G:L    Low Graphics        [25 lines]
  509. /G:M1    Medium Graphics 1    [30 lines]
  510. /G:M2    Medium Graphics 2    [34 lines]
  511. /G:H1    High Graphics 1        [43 lines]
  512. /G:H2    High Graphics 2        [60 lines]
  513. /T:L    Low Text        [25 lines]
  514. /T:H1    High Text 1        [43 lines]
  515. /T:H2    High Text 2        [50 lines]
  516.  
  517. Note that not all DOSSHELL graphics resolutions may be available on your
  518. computer, depending on the video modes supported by your video controller.
  519. You can also change the DOSSHELL screen resolution from within its interface:
  520. click Options -> click Display -> highlight desired resolution -> click
  521. Preview -> click OK/press Enter to select or Cancel/press Esc to revert to
  522. previous setting.
  523. If you are trying to preview a resolution not supported by your video card,
  524. you may get a black or garbled screen. In this case the only way to return to
  525. the previous display is to hit Escape, IF your computer didn't freeze in the
  526. process. :(
  527. It is strongly recommended to reinstall the DOSSHELL video files properly by
  528. running SETUP.BAT (see the "UPDATE" below) EVERY TIME you change/upgrade your
  529. primary video adapter, to avoid such errors/lockups.
  530.  
  531. Microsoft suggests not to use DOSSHELL as a DOS menu (shell) to start other
  532. GUI based applications/games (i.e. MS Windows) if using MS-DOS 5.00 or
  533. earlier.
  534. I for one prefer QuickMenu III DOS graphical menu for this purpose [511 KB,
  535. nag shareware :(]:
  536. http://www.neosoftware.com/qm.html
  537. and have erased the entire MENU section, which also makes DOSSHELL load faster
  538. by reducing the size of DOSSHELL.INI.
  539.  
  540. If you decide to use my DOSSHELL.INI file, you should be WARNED that I have
  541. eliminated ALL nagging screens for Mouse Operations, Copy, Move, Delete and
  542. Replace commands. Example: when you highlight a single file/empty directory
  543. and press the Del key/click Delete, it WILL BE DELETED IMMEDIATELY WITHOUT ANY
  544. CONFIRMATION PROMPT messages!
  545. You can change these lines under the DOSSHELL.INI [savestate] section:
  546.  
  547. [savestate]
  548. replaceconfirm=disabled
  549. deleteconfirm=disabled
  550. mouseconfirm=disabled
  551.  
  552. back to their original states, to read:
  553.  
  554. [savestate]
  555. replaceconfirm=enabled
  556. deleteconfirm=enabled
  557. mouseconfirm=enabled
  558.  
  559. to get back the confirmation/nagging screens (default) for safer (but more
  560. time consuming) copy/move/delete/mouse operations. [But that's no fun! :)]
  561. You can also enable/disable DOSSHELL confirmation dialog boxes from within its
  562. GUI: click Options -> click Confirmation -> (un)check the desired [X] box(es)
  563. -> click OK/press Enter to save new option or Cancel/press Esc to revert to
  564. previous setting:
  565. - Confirm on Delete
  566. - Confirm on Replace
  567. - Confirm on Mouse Operation.
  568.  
  569. Also, if you try to run a batch (.BAT) file by double-clicking on it (or by
  570. pressing Enter after highlighting it) within DOSSHELL, that file will open in
  571. EDIT.COM for editing, instead of running the respective program! If you want
  572. to have your batch files run normally from DOSSHELL, edit my DOSSHELL.INI with
  573. EDIT.COM in DOS or Notepad in Windows, and delete the entire .BAT section:
  574.  
  575. association=
  576. {
  577. program=EDIT
  578. extension=BAT
  579. }
  580.  
  581. File types associated with EDIT.COM in my DOSSHELL.INI:
  582.  
  583. - .BAT
  584. - .DOC
  585. - .INF
  586. - .INI
  587. - .SYS
  588. - .TXT
  589.  
  590. Note that DosShell canNOT run ANY Windows native programs and does NOT support
  591. file associations with Windows executables, even if running from a Windows DOS
  592. box/session!
  593. I have associated the MS-DOS .HLP files (found in the DOS directory) with
  594. HELP.COM (also located in the DOS directory, which should be on your PATH
  595. line, mentioned in your AUTOEXEC.BAT or CONFIG.SYS, for all MS-DOS 5.00 - 6.22
  596. users).
  597. I associated the .BAS files with QBASIC.EXE (the MS-DOS Quick Basic Editor),
  598. residing by default in the DOS directory on MS-DOS 5.00 - 6.22 machines, and
  599. in the \WINDOWS\COMMAND folder on MS Windows 95/98/ME systems.
  600. The .ZIP files are associated with PKUNZIP in my DOSSHELL.INI, which must
  601. reside in a directory on your path, otherwise you need to type its full path
  602. name when associating it.
  603. PKZIP.EXE + PKUNZIP.EXE, THE standard DOS ZIPping/unZIPping tools, are part of
  604. PKWare PK(UN)ZIP v2.50 32-bit for DOS, LFNs aware ONLY in a Windows
  605. 95/98/NT/2000/ME/XP/.Net DOS box [202 KB, no nag shareware]:
  606. ftp://ftp.pkware.com/PK250DOS.EXE
  607. This way I unzip (decompress) a .ZIP file simply by double-clicking on it
  608. while in DOSSHELL, restoring the original files contained in the ZIP archive
  609. into the directory where the respective .ZIP file resides.
  610. To "force" the files contained into a ZIP archive to decompress into the
  611. directory of your choice, you can associate ZIP files with a BATch file I
  612. called UNZIP.BAT (example):
  613.  
  614. @ECHO OFF
  615. C:\ZIP\PKUNZIP.EXE %1 %TEMP%
  616. EXIT
  617.  
  618. In this case all files in a ZIP will be unZIPped into the TEMP directory,
  619. specified by the "SET TEMP=" and "SET TMP=" variables (example):
  620.  
  621. SET TEMP=C:\TEMP
  622. SET TMP=C:\TEMP
  623.  
  624. in your AUTOEXEC.BAT or CONFIG.SYS (the latter is supported ONLY by MS-DOS
  625. 6.00 and newer).
  626.  
  627. To change/delete any of the above file associations, open my DOSSHELL.INI with
  628. EDIT.COM in DOS or Notepad in Windows (EXIT DOSSHELL FIRST!), and edit the
  629. file associations found at the end of the file.
  630. Each file association can be edited/deleted, or new ones can be created also
  631. from the DOSSHELL interface, by clicking "Associate..." from the File menu,
  632. after highlighting a file type, and manually typing the COMPLETE DOS based
  633. program/game path (unless an executable resides in a directory on your PATH),
  634. filename AND extension (.BAT, .COM or .EXE) of your choice.
  635. Note that DOSSHELL is not as intuitive as Windows Explorer
  636. (Win95/98/2000/ME/XP/.Net users) or File Manager (Win9x/NT/ME/3.xx users), and
  637. won't let you just point/browse to the default registered associated
  638. executable for a particular file extension. :(
  639.  
  640. HINT: DOSSHELL is NOT included with MS-DOS 6.21, 6.22 or with MS Windows
  641. 95/98/NT/2000/ME/XP/.Net anymore, therefore you need to download its Setup
  642. files from Microsoft's FTP site [762 KB, free]:
  643. ftp://ftp.microsoft.com/softlib/mslfiles/SUP622.EXE
  644. if you own one of these "DOSSHELL crippled" Operating Systems, as part of
  645. Microsoft MS-DOS 6.22 Supplemental Disk:
  646. http://support.microsoft.com/support/kb/articles/q117/6/00.asp
  647. MS-DOS 6.22 required to use most Supplemental files.
  648. MS-DOS 5.00/6.xx or any MS Windows OS required to use DOSShell.
  649.  
  650. UPDATE:
  651. "Run the SUP622.EXE executable to extract the DOSSHELL installation files.
  652. Beware that SUP622.EXE does NOT contain ANY text references on how to install
  653. the DosShell video files, therefore you need to run SETUP.BAT, a DOS batch
  654. file that installs DOSSHELL.VID and DOSSHELL.GRB on your system.
  655. Only after that you'll be able to run DosShell in graphic modes. SETUP.BAT
  656. basically copies the DOSSHELL files to your DOS directory and renames the
  657. appropriate *.VID and *.GRB files to DOSSHELL.VID and DOSSHELL.GRB
  658. respectively, depending on your computer's video capabilities."
  659. [Thank you Chris (crw@aber.ac.uk)!]
  660.  
  661. TIP: You may need to create a new MSDOS (or DOS) directory (if not present) on
  662. your root drive/partition (C:\) beforehand for SETUP.BAT to work properly.
  663.  
  664. WORKAROUND:
  665. DosShell is configured by default (on most newer ISA/VLB/PCI/AGP color video
  666. adapters that support it) for the better quality VGA display. If your older
  667. and/or monochrome (CGA, EGA, MGA, PGA, 8514 etc) graphics card does NOT
  668. support VGA modes, you MUST install the appropriate DosShell video (.GRB and
  669. .VID) and initialization (.INI) files from SUP622.EXE (self extractive ZIP
  670. archive), depending on your video controller.
  671. Select ONLY the files that MATCH your particular video type:
  672.  
  673. Video Type    DOSSHELL.GRB    DOSSHELL.VID    DOSSHELL.INI
  674. ------------------------------------------------------------
  675. Low Res Mono    MONO.GR_    N/A        MONO.IN_
  676. Hercules    HERC.GR_    HERC.VI_    MONO.IN_
  677. CGA        CGA.GR_        CGA.VI_        CGA.IN_
  678. High Res Mono    VGAMONO.GR_    VGA.VI_        MONO.IN_
  679. EGA/VGA        VGA.GR_        VGA.VI_        EGA.IN_
  680.  
  681. These installation files are compressed with Microsoft's proprietary LZH based
  682. packing technology. Therefore you need to use the included EXPAND.EXE tool to
  683. unpack (decompress) them. Run these DOS commands from any prompt (example
  684. using a VGA card):
  685.  
  686. EXPAND VGA.GR_ DOSSHELL.GRB
  687. EXPAND VGA.VI_ DOSSHELL.VID
  688. EXPAND EGA.IN_ DOSSHELL.INI
  689.  
  690. Then move all these 3 DOSSHELL.* files to your DosShell directory, which
  691. should be listed in your PATH for convenience, to run DosShell anytime, from
  692. any drive/directory, and avoid using a "SET DOSSHELL=" statement.
  693. Finally, type DOSSHELL at any DOS command prompt and hit Enter to start the
  694. DosShell GUI.
  695.  
  696. Have fun.
  697.  
  698. DOSSHELL resources on the Internet:
  699. - MSKB: Troubleshooting Problems with MS-DOS Shell:
  700. http://support.microsoft.com/support/kb/articles/q74/1/77.asp
  701. - MSKB: Using Keystrokes in MS-DOS 5.0 or Later Shell:
  702. http://support.microsoft.com/support/kb/articles/q74/6/38.asp
  703. - Smart Computing: DOSSHELL:
  704. http://www.smartcomputing.com/articles/archive/dos/dos3096/dos3096.asp
  705. - Dosshell Multitasking:
  706. http://www.halspastill.com/386/dosshell.shtml