home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 24 DOS
/
24-DOS.zip
/
doswitip.zip
/
DOSTIPS.TXT
< prev
next >
Wrap
Text File
|
2002-05-07
|
31KB
|
706 lines
AXCEL216's MAX Speeed
Key Remapping + DOSSHELL ⌐Tips for the DOS fanatics! ;-)
These topics refer STRICTLY to ALL Microsoft Windows 95/98/ME [a.k.a. MS-DOS
7.00/7.10/8.00] + MS-DOS 5.00/6.xx final (Gold) releases, unless specified
otherwise!
Please send me your comments, corrections, tips at:
axcel216@aol.com
DOSTIPS.TXT Contents:
F1-F12 Remapping = MS-DOS Mode + ANSI Driver
MS DOSSHELL = MS-DOS "File Manager"
DOS tips on the Internet:
- PC Forrest MS-DOS 7/8 Tips:
http://www.forrestandassociates.co.uk/pcforrest/ms-dos.html
- Rob's Scripting Pages:
http://www.robvanderwoude.com/
- MS-Dos7 Commands:
http://www3.sympatico.ca/rhwatson/dos7/
- NOTES ON MS-DOS 6.22:
http://2dos.homepage.dk/batutil/help/INDEX.HTM
- The Useful Site - DOS tips:
http://www.theusefulsite.com/dos.htm
______________________________________________________________________________
F1-F12 Remapping = MS-DOS Mode + ANSI Driver
These key remapping tips are valid for ALL MS-DOS releases starting with 5.00
up to 8.00 [MS-DOS 7.00 is bundled with Windows 95 (retail) and 95a OSR1
(upgraded with SP1), MS-DOS 7.10 is included with Windows 95 B/C OSR 2.x and
Windows 98/98 SE(U), and MS-DOS 8.00 comes with Windows ME), and they work
ONLY on 101-107 (or more) extended serial, PS/2 and USB keyboards (with or
without extra Win95/Win98 keys), ONLY with an ANSI DOS CONsole device
driver/accelerator loaded in memory!
This may also be achieved using older MS-DOS and/or 3rd party (DR-DOS, PC-DOS,
FreeDOS, Novell DOS, IBM DOS etc) releases, but I haven't tried any.
IMPORTANT:
Microsoft REMOVED COMPLETELY the access to native/real MS-DOS mode from
Windows Millennium Edition (ME), a.k.a. MS-DOS 8.00. :(
But you CAN get it back [:)] by applying the Unofficial WinME Real DOS-Mode
Patch [9 KB, freeware]:
http://www.geocities.com/mfd4life_2000/
which modifies COMMAND.COM + IO.SYS (from C:\Windows\Command\EBD) +
REGENV32.EXE (from C:\Windows\System) to allow Windows ME to boot to native
MS-DOS and use custom DOS mode startup files (AUTOEXEC.BAT + CONFIG.SYS), the
Windows 95/98 style.
The included KEY.TXT and X.TXT files are plain ANSI batch files (ASCII text
files) designed to reassign the "extra" function keys: from F1 to F12 on
extended keyboards, using ANSI driver capabilities.
FYI: If you don't know what these abbreviations mean (ANSI, ASCII, RAM, TSR,
UMB, VGA etc), please look them up in GLOSSARY.TXT (included).
First, you need to load Microsoft ANSI.SYS device driver in your CONFIG.SYS
with the /X switch, to enable DOS mode key remapping, AFTER the lines that
load the Microsoft HIMEM.SYS + EMM386.EXE "combo" or a 3rd party memory
manager capable of providing Upper Memory Blocks (UMBs) for loading
devices/drivers/TSRs "high": UMBPCI.SYS, QEMM386.SYS, RM386.EXE, 386MAX.SYS
etc.
MS ANSI.SYS occupies 4.2 KB of (upper) DOS RAM.
TIP: See MEMORY.TXT (included) for memory management guidelines to learn how
to MAXimize your memory resources in DOS + Windows.
ANSI.SYS CONFIG.SYS line (default install directories used here):
- MS-DOS 6.00 - 6.22 users:
DEVICEHIGH=C:\MSDOS\ANSI.SYS /X
- MS Windows 95/98/ME [a.k.a. MS-DOS 7.xx/8.00] users:
DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS /X
The "/X" switch allows extended keys to be remapped independently on 101 (or
more) keyboards.
If using MS DISPLAY.SYS to display DOS mode international (in a language other
than English) character sets, make sure to position the ANSI.SYS line AHEAD of
the DISPLAY.SYS command in your CONFIG.SYS (example):
DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS /X
COUNTRY=040,852,C:\WINDOWS\COMMAND\COUNTRY.SYS
DEVICEHIGH=C:\WINDOWS\COMMAND\DISPLAY.SYS CON=(EGA,852,2)
Alternatively you can use any other compatible ANSI device driver that has the
ability to remap the extended keys: F1 - F12 (and/or any other keys, if you
like) to replace Microsoft's default ANSI.SYS.
1. An excellent example (the BEST in my opinion) is Daniel Kegel's NANSI.SYS
v3.4 DOS CONsole Driver Accelerator, fastest and most versatile replacement
for MS ANSI.SYS, with built-in support for key remapping [60 KB, free GNU]:
http://www.kegel.com/nansi34.zip
NANSI.SYS takes only 3.3 KB of upper DOS RAM if loaded with DEVICEHIGH in
CONFIG.SYS (example using NANSI.SYS command line switches to enable key
remapping):
DEVICEHIGH=drive:\dir\NANSI.SYS /K /X
2. Another good alternative is PC Magazine's ANSI.COM v1.3 [28 KB, free]:
http://www.pcmag.com/article/0,,a=26366,00.asp
ANSI.COM has the advantage of being able to load/unload at will, ONLY IF it is
the LAST TSR that loaded in memory. Therefore you can run ANSI.COM from
AUTOEXEC.BAT or from the plain DOS prompt.
BUG: If using ANSI.COM to assign EXIT (and probably any other internal DOS
commands) to any of your remapped keys, the arrow keys will display invalid
commands! :(
ANSI.COM takes only 2.7 KB of upper memory if using LOADHIGH in AUTOEXEC.BAT
(example):
LOADHIGH=drive:\dir\ANSI.COM
An upper/extended/expanded memory manager (see examples above) MUST be present
in CONFIG.SYS for these ANSI devices to load in Upper Memory Area (UMA).
You can use ANSI.SYS, NANSI.SYS or ANSI.COM ASCII sequences to create colorful
DOS prompts, start ANY DOS program (including Windows 9x/ME/3.xx) at the touch
of a single key (by remapping the keys on enhanced 101-107 keyboards), and
much more.
HINT: Sustitute ALL "drive" and "dir" instances in this document with the
ACTUAL paths to your files... and don't type the quotes! ;)
Back to key remapping:
You can add this command as the last line in your AUTOEXEC.BAT:
TYPE drive:\dir\KEY.TXT
After AUTOEXEC.BAT processing is finished (at the end of the boot sequence),
press one of your function keys (F1 through F12) at the native/real DOS
prompt, to start whatever DOS program you like (including internal MS-DOS
commands, like: COPY, DEL, DIR, REN etc), and ANY MS Windows version that runs
on top of MS-DOS (3.xx or 95/98/ME).
Windows NT, 2000, XP and .Net have their own built-in MS ANSI.SYS, which can
be loaded from a customized CONFIG.NT using the DEVICE(HIGH) command.
If using these function keys shortcuts from a Windows DOS session/box, be
CAREFUL which programs you run, so they won't interfere with Windows proper
operation. Programs that are Long File Names (LFNs) and/or FAT32/NTFS unaware
may damage your data under Windows 32-bit (Win32) OS, or BEWARE that some may
not run, or even lockup Windows!
To assign your own DOS commands to F1 - F12 in KEY.TXT, open it with EDIT.COM,
and type in the commands you want inside the quote-unquote areas ("PROGRAM" ->
replace with your actual program name), to substitute the ones already there.
LIMITATION:
You need to use EDIT.COM (MS-DOS default ASCII/text editor/viewer) because
Notepad (Windows default ASCII/text editor/viewer) does NOT display extended
ASCII characters properly, like the ones I used in my KEY.TXT, X.TXT and
CONFIG.SYS files (all included).
Leave NO spaces! Example:
$e[0;134;"WIN";13p
Make sure the DOS executables (.COM, .EXE)/batch files (.BAT) mentioned in
KEY.TXT reside in a directory included in your PATH statement (set in your
AUTOEXEC.BAT or CONFIG.SYS), otherwise you need to add their actual paths
(drive letter + directory name) to the KEY.TXT command lines:
"drive:\dir\PROGRAM"
No need to mention the file extension if it is a standard DOS executable:
.BAT, .COM or .EXE.
It is advised to keep the command lines between quotation marks as short as
possible. Too long command lines in KEY.TXT may result in "Out of environment
space" error messages!
If you DO get such messages anyway, you'll need to increase the size of your
DOS environment, by adding/modifying the "SHELL=" line in your CONFIG.SYS.
Edit CONFIG.SYS with EDIT.COM in DOS or Notepad in Windows. Example of
CONFIG.SYS "SHELL=" lines:
- MS-DOS 6.00 - 6.22 users:
SHELL=C:\COMMAND.COM C:\ /E:1024 /P
- MS Windows 95/98/ME [a.k.a. MS-DOS 7.00/7.10/8.00] users:
SHELL=C:\COMMAND.COM C:\ /E:1024 /L:128 /U:128 /P
Make sure you have a copy of COMMAND.COM present in the root directory of your
boot drive/partition (C:\) for this to work!
Save your CONFIG.SYS file when done (BUT BACK IT UP FIRST!), and then reboot,
so the new command environment can take "charge".
You can also redefine ANY key functions from the DOS prompt.
Just run something like this:
PROMPT $e[0;59;"MSD";13p
to start MSD.EXE (MicroSoft Diagnostics utility) by pressing F1 from any DOS
prompt.
To revert F1 to its original assignment, run:
PROMPT $e[0;59;;p
When done, you need to reenable your original DOS PROMPT (default is C:\>), by
running:
PROMPT $P$G
To avoid such cumbersome changes to your DOS prompt, I recommend loading key
remapping settings from your AUTOEXEC.BAT (example):
TYPE drive:\dir\KEY.TXT
FYI: "$e" is equivalent to using the "Esc" ASCII 27 character. To save memory,
press and hold (in this specific order): Ctrl, P and the left square bracket
([) keys together in EDIT.COM to reproduce "$e" as a single character, which
looks like a left pointing arrow.
You can assign DOS commands to ANY key on your keyboard as long as it doesn't
interfere with any other functions that particular key might have (i.e. some
of the function keys are remapped by Microsoft DOSKEY.COM TSR driver).
To remap a key you need to learn its ASCII code. To observe the ANSI escape
sequences, run:
- MS-DOS 6.00 - 6.22 + Windows 98/98 SE [a.k.a. MS-DOS 7.10] users:
HELP ANSI.SYS
- MS Windows 95/98/ME [a.k.a. MS-DOS 7.00/7.10/8.00] users:
MSDOSDRV.TXT
to open it in Notepad and read the "ANSI.SYS" topic.
Look at the ASCII codes by scrolling down towards the end of the ANSI.SYS
topic. NANSI.SYS and ANSI.COM abide also by these same standard rules.
LIMITATION:
Alt, Ctrl, Shift and the Win95/Win98 specific keys on 104 (or more) keyboards
are the ONLY ones that canNOT be remapped this way!
Then open KEY.TXT with EDIT.COM in DOS or Notepad in Windows, and change a
key's ASCII code to the one you want, to have that particular key start your
favorite DOS program, or even start Windows from native MS-DOS. Example:
change "WIN" to "MSD".
To run certain DOS programs that rely on their own key mapping routines, you
may need to temporarily disable key remapping and revert back to their
original DOS key assignment. For this purpose I have created X.TXT (included).
Run the following MS-DOS command to "deactivate" all remapped keys:
TYPE drive:\dir\X.TXT
FYI: Keys remapped/restored this way from a DOS box within Windows GUI apply
ONLY to that particular DOS session. To make ALL remapped keys "globally"
available to the system, run these commands from native/real/true/pure MS-DOS,
or add them as last lines to your AUTOEXEC.BAT file.
You can also add the lines below to a batch file to start your DOS
program/game, to temporarily disable key remapping (by loading X.TXT), run
your application, and then add another TYPE command for KEY.TXT after your
program's command line, to reassign your keys once again. Example:
@ECHO OFF
TYPE drive:\dir\X.TXT
drive:\dir\PROGRAM
TYPE drive:\dir\KEY.TXT
You can rename X.TXT and KEY.TXT to whatever you want, just keep the .TXT
extension for convenience. ;)
It's cool to assign your most used DOS commands to the function keys (F1 -
F12), for running them with just a single keypress, thus saving precious time,
and working more productively, instead of typing cryptic DOS commands that
most of us don't need to remember anyway. [DOS fanatics make exception! :-)]
HINT: Consider sticking a paper template/map or self-adhesive stickers
somewhere close to or on top of your F1 - F12 keys, to avoid memorizing your
most used reassigned function key commands.
With ANSI.SYS (or similar driver) installed you can also benefit from being
able to display custom colored DOS prompts, using the ANSI graphic escape
sequences. For a few examples, take a peek at my CONFIG.SYS file (included)
"SET PROMPT=" and "SET WINPMT=" lines, especially if you are a DOS
afficionado, and you'd like to have fun(k)y looking/colored DOS prompts, like
I do. ;)
Another example of cool DOS prompt, in which you can change different ANSI
parameters to obtain "exotic" color effects and/or force the prompt bar to
"dock" at the bottom of the screen instead of at the top: [;-)]
SET PROMPT=sH
$P$G4H
My Computer
Operating System $_
u$P$G
Replace "My Computer" and "Operating System" strings above (without quotes)
with your own, personalized text.
And make sure your COMMAND.COM environment size is large enough to accomodate
this long string, by adding/modifying the CONFIG.SYS "SHELL=" line (see
examples further above).
ANSI resources on the Internet:
- The ansi.sys device driver:
http://life.homepage.dk/batfiles/b4ustart/ansisys.htm
- The ANSI.SYS Device Driver:
http://gatsby.tafe.tas.edu.au/batch/html/ansi.html
- PC Forrest ANSI.SYS Tips:
http://www.forrestandassociates.co.uk/pcforrest/ansi_sys.html
- Dos7 Ansi.sys:
http://www3.sympatico.ca/rhwatson/dos7/v-ansi-sys.html
MS DOSSHELL = MS-DOS "File Manager"
Microsoft DosShell (DOSSHELL.EXE) is a DOS based (16-bit) graphical
CGA/EGA/VGA "File Manager", task switcher/swapper and program launcher
Menu/Shell Graphical User Interface (GUI) with full mouse support, almost as
good as its MS Windows 95/98/NT/ME/3.xx counterpart at performing extensive
disk/file routine operations. In fact both DOSSHELL and File Manager (FM =
C:\Windows\Winfile.exe), its Windows GUI based "cousin", use similar "hot"
keys/key "combos"/shortcuts (examples): Ctrl+click to select multiple separate
files, Ctrl+Forward slash or Ctrl+Question mark to select all files in current
directory, Shift+click to select multiple contiguous files, Alt+F4 (or F3 =
specific to DosShell) to close/exit the interface, F1 for help menu etc.
Microsoft first introduced DosShell begining with MS-DOS 4.00 (1991). LAST
(and CURRENT/NEWEST release) was bundled with MS-DOS 6.00 (1993). MS did (and
will) NOT issue ANY further updates or releases, because they consider it an
obsolete DOS (legacy) 16-bit tool. :(
A DOS mouse driver [see CTMOUSE.EXE under "FREE WinDOwS MOUSE DRIVERS + TOOLS"
in SOFTWARE.TXT (included)] needs to be loaded in memory prior to starting
DosShell in native MS-DOS mode, to take advantage of its built-in
point-and-click and click-and-drag mouse functions.
Its main purpose is file and directory listing and manipulation (copy, create,
delete, move, rename), program launcher (shell menu) and task swapper (program
switcher).
Two different directory trees (even located on different drives/partitions)
can be displayed simultaneously, together with the launcher menu, all on the
same screen.
Task Swapping is an added bonus, making possible to load multiple
programs/games in memory at the same time, and switching between them with the
Alt+Tab key "combo". But because MS-DOS is a single task operating system and
doesn't provide background execution nor multi-threading, only currently
selected application can load into memory and run. DosShell's Task Swapper has
the ability to dump the running program together with its operating state to a
temporary disk file (DOSSWAP.SWP) and then load and run another program in the
same memory space. When switching between tasks, the current task state is
dumped to this file, and the other program operating state is loaded from the
file, making possible to continue with the other task.
CAUTION: DosShell is NOT capable of terminating hung/locked up applications.
Therefore if using task swapping make sure to save your work BEFORE switching
tasks!
DosShell requires a minimum of 384 KB of DOS memory for proper operation, and
can use up to 500 KB, depending on the size of detected directory trees and
number of files, because it always scans the current drive/partition structure
upon startup, and then displays the entire directory tree, begining from the
root directory. The Task Swapper function takes an additional 40 KB of RAM
when enabled.
DosShell stores its settings in DOSSHELL.INI, a plain text/ASCII file found in
the same directory as the DOSSHELL executable (DOSSHELL.EXE). If DOSSHELL.INI
becomes corrupted or is missing, a new one will be created automatically next
time DOSSHELL starts, but custom configurations will be lost in this case. :(
DosShell can be used [among many other useful things :)] to rename/move
(sub)directories or as a DOS mode "task switcher", cool features, otherwise
not supported by the plain DOS prompt, without dedicated 3rd party tools.
Older MS-DOS releases do not have the capability of renaming/moving
directories/folders. Begining with MS-DOS 6.00, the only way to rename/move
directories in DOS is to use MOVE.EXE, an external MS-DOS command. Examples:
- Renames a directory on the same drive/partition:
MOVE C:\OLDDIR C:\NEWDIR
- Moves a directory to a different drive/partition:
MOVE C:\MYDIR D:\
- Renames AND moves a directory to a different drive/partition:
MOVE C:\OLDDIR D:\NEWDIR
But MOVE (unlike DOSSHELL) canNOT rename the currently displayed directory or
the directory inside which it resides. :(
DOSSHELL does NOT use ANY MS-DOS built-in (internal) commands like: COPY, DEL,
REN, MD, RD etc, but its own (native) routines for performing such tasks
instead.
LIMITATION:
DOSSHELL is NOT Long File Names (LFNs) aware! Therefore ANY LFN files/folders
copied/moved by DOSSHELL will LOSE ALL LFNs information IF using MS Windows
95/98/NT/2000/ME/XP/.Net or ANY other LFNs capable OS!
For all MS DOSSHELL users I have included here my customized DOSSHELL.INI file
with a list of fun(k)y color schemes. Enjoy. :)
To use it, first BACKUP YOUR DOSSHELL.INI (i.e. rename it to DOSSHELL.INX),
and then copy this one to your DosShell directory.
Just make sure DOSSHELL is NOT running. :)
Now to preview/change to one of my DOSSHELL color schemes: run DOSSHELL ->
click Options -> select Colors -> scroll down to the desired color scheme ->
click Preview -> click OK/hit Enter to keep it if you like it, or click
Cancel/hit Esc to restore your original one.
To take a peek at my "Zen" custom DOSSHELL color scheme, open DOSSHELL.BMP
with Paint Brush (PBRUSH.EXE) in Windows/WfWG 3.1x and NT 3.xx, MS Paint
(MSPAINT.EXE) in Windows 95/98/NT4/ME/2000/XP/.Net, or your favorite graphic
viewer/editor utility [see SOFTWARE.TXT (included) for examples].
DOSSHELL.BMP is included ONLY with my Windows BitMaPs archive [1.82 MB,
FREEware]:
http://members.aol.com/axcel216/winfiles/MYBMPS.ZIP
and can be used as Windows background wallpaper: 640x480 pixels, VGA, RGB
encoded, 16 colors, 4-bit BitMaP.
You can further edit my DOSSHELL.INI file using EDIT.COM in DOS or Notepad in
Windows, and modify any colors in any of these color schemes to your liking.
Allowed COLOR values are (case insensitive):
COLOR
darkCOLOR
brightCOLOR
Substitute the COLOR string above with an actual color name. Supported
DOSSHELL color names (standard VGA color attributes):
black
blue
green
cyan
red
magenta
brown
yellow
white
gray
You may find useful to add this line to your AUTOEXEC.BAT:
SET DOSSHELL=C:\SHELL
if your DOSSHELL files reside in a directory (C:\SHELL in this example) other
than your default DOS/Windows directory, and if this directory is NOT included
in the DOS PATH.
This environment variable dictates the location of DOSSHELL.INI.
If your DOSSHELL files are located in your DOS/Windows directory/folder or in
any another directory listed on your "PATH=" line (specified in AUTOEXEC.BAT
or CONFIG.SYS), you do NOT need to specify a "SET DOSSHELL=" line. DOSSHELL
creates its temporary files in the directory mentioned on the "SET TEMP=" and
"SET TMP=" lines, which can be modified/added to your startup files
(AUTOEXEC.BAT or CONFIG.SYS).
CONFIG.SYS supports SET commands ONLY in MS-DOS 6.00 and newer. Default
TEMP(orary) directory is C:\MSDOS (or C:\DOS) for MS-DOS 4/5/6 or
C:\WINDOWS\TEMP for Windows 95/98/ME if these lines are absent.
MS DosShell complete files list (as included with MS-DOS 6.00):
File Name File Description
------------------------------------------------------------------------------
DOSSHELL.COM COMmand redirector (starts DOSSHELL.EXE) for compatibility
with older MS-DOS releases: you can safely delete it if using
MS-DOS 6.20 or newer
DOSSHELL.EXE DOSSHELL EXEcutable + interface (GUI)
DOSSWAP.EXE Internal task SWAPper + switcher helper: you can safely delete
it if not using Task Swapper from within DosShell
DOSSHELL.GRB Video mode GRaBber + detector
DOSSHELL.HLP HeLP menu
DOSSHELL.INI INItialization + configuration file
DOSSHELL.VID CGA/EGA/VGA text + graphics VIDeo driver
If DosShell's Task Swapper feature is enabled, DOSSWAP.EXE creates a temporary
file (DOSSWAP.SWP) in the DosShell directory every time you switch between
programs, writing (saving) the current program state to disk for future
recovery. Normally the .SWP file is automatically erased upon exiting
DosShell. But sometimes it persists even after DosShell is closed, taking up
unnecessary disk space. In such cases you can safely delete it.
To start DOSSHELL in different text or graphics video modes, you can run the
DOSSHELL executable from the DOS prompt (or from a dedicated batch file) with
command line parameters. To see all DOSSHELL available switches, run:
DOSSHELL /?
This is the DOSSHELL help screen:
"Microsoft (R) DOS Version 6 MS-DOS Shell
Copyright (c) Microsoft Corp 1993. All rights reserved.
Starts MS-DOS Shell.
DOSSHELL [/T[:res[n]]] [/B]
DOSSHELL [/G[:res[n]]] [/B]
/T Starts MS-DOS Shell in text mode.
:res[n] A letter (L, M, H) and number (n) indicating screen resolution.
/B Starts MS-DOS Shell using black-and-white color scheme.
/G Starts MS-DOS Shell in graphics mode."
These are all available DOSSHELL video modes that can be specified as command
line parameters (case insensitive):
/G:L Low Graphics [25 lines]
/G:M1 Medium Graphics 1 [30 lines]
/G:M2 Medium Graphics 2 [34 lines]
/G:H1 High Graphics 1 [43 lines]
/G:H2 High Graphics 2 [60 lines]
/T:L Low Text [25 lines]
/T:H1 High Text 1 [43 lines]
/T:H2 High Text 2 [50 lines]
Note that not all DOSSHELL graphics resolutions may be available on your
computer, depending on the video modes supported by your video controller.
You can also change the DOSSHELL screen resolution from within its interface:
click Options -> click Display -> highlight desired resolution -> click
Preview -> click OK/press Enter to select or Cancel/press Esc to revert to
previous setting.
If you are trying to preview a resolution not supported by your video card,
you may get a black or garbled screen. In this case the only way to return to
the previous display is to hit Escape, IF your computer didn't freeze in the
process. :(
It is strongly recommended to reinstall the DOSSHELL video files properly by
running SETUP.BAT (see the "UPDATE" below) EVERY TIME you change/upgrade your
primary video adapter, to avoid such errors/lockups.
Microsoft suggests not to use DOSSHELL as a DOS menu (shell) to start other
GUI based applications/games (i.e. MS Windows) if using MS-DOS 5.00 or
earlier.
I for one prefer QuickMenu III DOS graphical menu for this purpose [511 KB,
nag shareware :(]:
http://www.neosoftware.com/qm.html
and have erased the entire MENU section, which also makes DOSSHELL load faster
by reducing the size of DOSSHELL.INI.
If you decide to use my DOSSHELL.INI file, you should be WARNED that I have
eliminated ALL nagging screens for Mouse Operations, Copy, Move, Delete and
Replace commands. Example: when you highlight a single file/empty directory
and press the Del key/click Delete, it WILL BE DELETED IMMEDIATELY WITHOUT ANY
CONFIRMATION PROMPT messages!
You can change these lines under the DOSSHELL.INI [savestate] section:
[savestate]
replaceconfirm=disabled
deleteconfirm=disabled
mouseconfirm=disabled
back to their original states, to read:
[savestate]
replaceconfirm=enabled
deleteconfirm=enabled
mouseconfirm=enabled
to get back the confirmation/nagging screens (default) for safer (but more
time consuming) copy/move/delete/mouse operations. [But that's no fun! :)]
You can also enable/disable DOSSHELL confirmation dialog boxes from within its
GUI: click Options -> click Confirmation -> (un)check the desired [X] box(es)
-> click OK/press Enter to save new option or Cancel/press Esc to revert to
previous setting:
- Confirm on Delete
- Confirm on Replace
- Confirm on Mouse Operation.
Also, if you try to run a batch (.BAT) file by double-clicking on it (or by
pressing Enter after highlighting it) within DOSSHELL, that file will open in
EDIT.COM for editing, instead of running the respective program! If you want
to have your batch files run normally from DOSSHELL, edit my DOSSHELL.INI with
EDIT.COM in DOS or Notepad in Windows, and delete the entire .BAT section:
association=
{
program=EDIT
extension=BAT
}
File types associated with EDIT.COM in my DOSSHELL.INI:
- .BAT
- .DOC
- .INF
- .INI
- .SYS
- .TXT
Note that DosShell canNOT run ANY Windows native programs and does NOT support
file associations with Windows executables, even if running from a Windows DOS
box/session!
I have associated the MS-DOS .HLP files (found in the DOS directory) with
HELP.COM (also located in the DOS directory, which should be on your PATH
line, mentioned in your AUTOEXEC.BAT or CONFIG.SYS, for all MS-DOS 5.00 - 6.22
users).
I associated the .BAS files with QBASIC.EXE (the MS-DOS Quick Basic Editor),
residing by default in the DOS directory on MS-DOS 5.00 - 6.22 machines, and
in the \WINDOWS\COMMAND folder on MS Windows 95/98/ME systems.
The .ZIP files are associated with PKUNZIP in my DOSSHELL.INI, which must
reside in a directory on your path, otherwise you need to type its full path
name when associating it.
PKZIP.EXE + PKUNZIP.EXE, THE standard DOS ZIPping/unZIPping tools, are part of
PKWare PK(UN)ZIP v2.50 32-bit for DOS, LFNs aware ONLY in a Windows
95/98/NT/2000/ME/XP/.Net DOS box [202 KB, no nag shareware]:
ftp://ftp.pkware.com/PK250DOS.EXE
This way I unzip (decompress) a .ZIP file simply by double-clicking on it
while in DOSSHELL, restoring the original files contained in the ZIP archive
into the directory where the respective .ZIP file resides.
To "force" the files contained into a ZIP archive to decompress into the
directory of your choice, you can associate ZIP files with a BATch file I
called UNZIP.BAT (example):
@ECHO OFF
C:\ZIP\PKUNZIP.EXE %1 %TEMP%
EXIT
In this case all files in a ZIP will be unZIPped into the TEMP directory,
specified by the "SET TEMP=" and "SET TMP=" variables (example):
SET TEMP=C:\TEMP
SET TMP=C:\TEMP
in your AUTOEXEC.BAT or CONFIG.SYS (the latter is supported ONLY by MS-DOS
6.00 and newer).
To change/delete any of the above file associations, open my DOSSHELL.INI with
EDIT.COM in DOS or Notepad in Windows (EXIT DOSSHELL FIRST!), and edit the
file associations found at the end of the file.
Each file association can be edited/deleted, or new ones can be created also
from the DOSSHELL interface, by clicking "Associate..." from the File menu,
after highlighting a file type, and manually typing the COMPLETE DOS based
program/game path (unless an executable resides in a directory on your PATH),
filename AND extension (.BAT, .COM or .EXE) of your choice.
Note that DOSSHELL is not as intuitive as Windows Explorer
(Win95/98/2000/ME/XP/.Net users) or File Manager (Win9x/NT/ME/3.xx users), and
won't let you just point/browse to the default registered associated
executable for a particular file extension. :(
HINT: DOSSHELL is NOT included with MS-DOS 6.21, 6.22 or with MS Windows
95/98/NT/2000/ME/XP/.Net anymore, therefore you need to download its Setup
files from Microsoft's FTP site [762 KB, free]:
ftp://ftp.microsoft.com/softlib/mslfiles/SUP622.EXE
if you own one of these "DOSSHELL crippled" Operating Systems, as part of
Microsoft MS-DOS 6.22 Supplemental Disk:
http://support.microsoft.com/support/kb/articles/q117/6/00.asp
MS-DOS 6.22 required to use most Supplemental files.
MS-DOS 5.00/6.xx or any MS Windows OS required to use DOSShell.
UPDATE:
"Run the SUP622.EXE executable to extract the DOSSHELL installation files.
Beware that SUP622.EXE does NOT contain ANY text references on how to install
the DosShell video files, therefore you need to run SETUP.BAT, a DOS batch
file that installs DOSSHELL.VID and DOSSHELL.GRB on your system.
Only after that you'll be able to run DosShell in graphic modes. SETUP.BAT
basically copies the DOSSHELL files to your DOS directory and renames the
appropriate *.VID and *.GRB files to DOSSHELL.VID and DOSSHELL.GRB
respectively, depending on your computer's video capabilities."
[Thank you Chris (crw@aber.ac.uk)!]
TIP: You may need to create a new MSDOS (or DOS) directory (if not present) on
your root drive/partition (C:\) beforehand for SETUP.BAT to work properly.
WORKAROUND:
DosShell is configured by default (on most newer ISA/VLB/PCI/AGP color video
adapters that support it) for the better quality VGA display. If your older
and/or monochrome (CGA, EGA, MGA, PGA, 8514 etc) graphics card does NOT
support VGA modes, you MUST install the appropriate DosShell video (.GRB and
.VID) and initialization (.INI) files from SUP622.EXE (self extractive ZIP
archive), depending on your video controller.
Select ONLY the files that MATCH your particular video type:
Video Type DOSSHELL.GRB DOSSHELL.VID DOSSHELL.INI
------------------------------------------------------------
Low Res Mono MONO.GR_ N/A MONO.IN_
Hercules HERC.GR_ HERC.VI_ MONO.IN_
CGA CGA.GR_ CGA.VI_ CGA.IN_
High Res Mono VGAMONO.GR_ VGA.VI_ MONO.IN_
EGA/VGA VGA.GR_ VGA.VI_ EGA.IN_
These installation files are compressed with Microsoft's proprietary LZH based
packing technology. Therefore you need to use the included EXPAND.EXE tool to
unpack (decompress) them. Run these DOS commands from any prompt (example
using a VGA card):
EXPAND VGA.GR_ DOSSHELL.GRB
EXPAND VGA.VI_ DOSSHELL.VID
EXPAND EGA.IN_ DOSSHELL.INI
Then move all these 3 DOSSHELL.* files to your DosShell directory, which
should be listed in your PATH for convenience, to run DosShell anytime, from
any drive/directory, and avoid using a "SET DOSSHELL=" statement.
Finally, type DOSSHELL at any DOS command prompt and hit Enter to start the
DosShell GUI.
Have fun.
DOSSHELL resources on the Internet:
- MSKB: Troubleshooting Problems with MS-DOS Shell:
http://support.microsoft.com/support/kb/articles/q74/1/77.asp
- MSKB: Using Keystrokes in MS-DOS 5.0 or Later Shell:
http://support.microsoft.com/support/kb/articles/q74/6/38.asp
- Smart Computing: DOSSHELL:
http://www.smartcomputing.com/articles/archive/dos/dos3096/dos3096.asp
- Dosshell Multitasking:
http://www.halspastill.com/386/dosshell.shtml