Making the DOS (or CMD) prompt into your "home away from the desktop"
If you're a Unix user, you already recognize the value of having a
"command line".
If not, let me ask you to consider the following analogy.
Suppose you like a particular national/regional style of cooking.
Ethiopian, Indian, Italian . . . Korean, Mexican, American
Southern, . . . pick your favorite(s).
Now: would you rather live in an area where there are many fine
restaurants of this sort, or would you rather learn how to buy
the ingredients, maintain a
well-stocked pantry, and have a kitchen
that was well-equipped to make the recipies involved?
Obviously the answer to the question depends on a lot of
variables.
But there's no question that you'll be able to enjoy the most
satisfying culinary pleasures if you learn the art of cusine, as
understood by the various cultural models that you wish to
partake.
Becoming "at home" with the DOS command line is rather like
bringing a different kind of cuisine to your kitchen. There are
quite a few new tools that you need to aquire, especially if
you're a committed Windows GUI interface user.
You may feel that too much time and energy is needed to make
these adjustments.
It's really up to you.
I've included the basics that you need in
JSM_DOS.Zip.
TurboKey.Com: The keyboard "whizzer" (Windows 9x only)
TurboKey's a great freeware keyboard accelerator, far beyond
anything offered by MS.
Evidently Misrosoft just doesn't think your arrow keys should
move the cursor too quickly. <sigh>
To install it, put it in your autoexec.bat (for
Windows 9x users), or the appropriate startup folder (for
Windows NT, 2K, or XP users).
A DOS command line editor: Anarkey (Windows 9x only)
A good DOS command line editor should allow you to use the arrow
keys to "recall" previous entries that you've done at the DOS
command line, and to "edit" (i.e. change) them. DOSEdit is a
fair command line editor.
I've also included my personal favorite, Anarkey.Com (it's
in AnarkeyS.Zip, which is itself contained in the main DOS zip,
JSM_DOS.Zip.) Anarkey is shareware, so you will
need to spend $30 to buy it. IMO, it's well worth the price.
If you don't wish to use Anarkey or you have NT, 2K, or
XP, then the DOSKey program may be a suitable replacement.
A DOS editor, with mutliple windows support, a file manager, a DOS
command prompt ("shelling") and binary file support.
If you've never "flipped"
back-and-forth between multiple windows
in a DOS editor, nor scrolled through a 2,000 line file in
just a fraction of a second, you have no idea how fast, easy, and
supple "text only" interfaces truly are (by comparison to GUI).
(While my favorite DOS editor is Boreland's SideKick Plus, this
is no longer available to the public, and won't work with
any Windows OS beyond 98 (it's incompatible with NT, 2K, and
XP). You may still be able
to get the successor, called SideKick II. I find it much more
difficult to use, due to the dearth of configuration options.)
Windows 9x users may enjoy a piece of shareware called "Breeze"
(it's Breeze56.Zip in the main DOS zip,
JSM_DOS.Zip). Unfortunately, Breeze doesn't work
with 32-bit FATs.
I've also supplied a piece of freeware called DEdit
(in DEdt0942.Zip). DEdit is Windows-based,
i.e. it will run from your desktop. It doesn't have as
many nice features as Breeze, but it will handle 32-bit
FATs (file allocation tables).
Finally, you might look into a package called TextPad, which
I've never used (although I've heard good things about it).
Whatever editor you choose, make sure that line and column
numbers are shown, and that it will let you insert "hard
tabs."
You can get along with DOS's EDIT if you don't wish to install
either of the editors that I've supplied. However, EDIT
won't let you insert "hard tabs," so you'll have to do those
with Windows Notepad (hold down the left alt key, turn off "num lock",
and then type a 0 and then a 9 on the numeric keypad). Alas,
Notepad won't show line numbers, so you'll have to use both: your
best solution is to create a file that consists of just one hard tab,
and paste it in.
A keyboard "key-swapper" that lets you switch control and caps
lock.
I've included a piece of freeware from PC Magazine
in the JSM_DOS.Zip file: it's called PCMZKM32.Zip. I haven't
tried it on anything besides Windows 98: for all I know, it may not
work on other versions of Windows. If you're running
NT, 2K, or XP, you might want to look around for a piece of freeware
that does this - I'm sure one exists.
Finally, you should know how to customize the DOS prompt (use
the "Cmd" prompt instead on NT, 2K, and XP), as well as how to
create shortcuts to DOS (or Cmd) on your desktop. I assume
that you know that much about how to use Windows.
If you have a large monitor (say: 17" or more), you may wish to
run the DOS command line on your windows desktop (instead of in
full screen mode). Unless your computer is very fast (i.e.,
700MZ or more), you may find that the GUI interface slows you
down considerably. Nevertheless, this will allow you to have
multiple-window editing as well as the command line on your
desktop--all at once, without installing an additional
editing package.
Make sure you use a "fixed space" rather than a proportional
font in your DOS window(s). You might also consider upgrading your
computer's fonts at:
http://www.microsoft.com/truetype.
(It's crucial for you to have a highly readable
font with "fixed" spacing.)
Suffice to say that you can have multiple DOS (or Cmd) icons
on your desktop for a variety of purposes. You can
also create them for your users, in order to make it easier for
them to run multiple processes.
(The DOS/Cmd icon is relatively unique in this one regard: every time
you create a "shortcut", you can right-click on that
shortcut to change the icon's properties.)
If none of the products in the list of editors (above) seem suitable, I
recommend that you go to:
http://oak.oakland.edu/.
Once there, look for the "Simtel" DOS archives. These are archives of
freeware and shareware which have been maintained for some decades
by the U.S. Government in coooperation with Oakland University
and other pubilc-spirited organizations.
Most of the software there is excellent ... however beware that many
of the DOS editing packages will not work with a "FAT 32" file system.
For another fabulous source of free software, consider
FSF (AKA
"Free Software Foundation"--the "GNU" folks):
http://www.gnu.org/software/.
In fact, if your budget isn't too limited, I'd recommend that you
order the CD-ROM entitled
"GNU Software for MS Windows and MS DOS" at:
http://www.gnu.org/order/order.html.
(Note: the above URL will take you to the main ordering page
for GNU. As of this writing, the following one will
take you directly to the CD-ROM that I just mentioned:
http://www.gnu.org/order/windows.html.
This is an incredbly useful tool for consultants, because GNU
software can be distributed with your packages; it's also
excellent for organizations, because you don't need a license for
each machine on which it runs. In fact, you can get the very
same software via FTP, but having the CD is an excellent way to
save time.
Unix users should note that the
CD-ROM contains GNU's own
version of BASH (the "Born-again Bourne Shell").
If you work for a corporation, I'd like to make a personal plea
to you: spend the $140 for the corporate CD. The folks at GNU
are making the world a better place to live. Kindly help them
out.
I'd strongly encourage you to learn more about DOS batch files and the
DOS command-line environment. You might wish to
take a look at my DOS
primer.
Return
to table of contents