|
|
Doctor DOS Betamax's |
DOS TIPS
|
|
||
|
|
|
||||
INFORMATION BELOW MAY NOT BE REPRODUCED
WITHOUT PERMISSION FROM THE AUTHOR ©
Since it's tedious to type full path names, place
your commonly used commands with their full paths
in aliases, batch files or macros. This way you will
only need enter a few keystrokes to have DOS go
directly to work.For really frequent usage, assign the batch file or macro to a key. (See #47 farther on.) |
Implementing Numbers Three through Ten, above,
means that you and the operating system and its
programs will do less looking and more doing.
This speeds operations.
IF you use passwords at the command line that do not
display as asterisks and the command history utility you
use chaches them, anyone that knows how to view the
history list could see those passwords. Even with asterisks,
if they are cached, an unintended person would know at least
password lengths.To prevent this, see if your utility can:
|
Have your defrag program place the largest files
first on the hard drive. Large files tend to often be
program executables, most of which usually don't change
unless attacked by a virus.If available, you may request that the defrag program place .exe and .com files first; these are your main program files. These never change size (unless you are experimenting with programming or have a virus), and never increase/decrease in number (unless you add/remove software). So for the most part, they never move. The defrag program will gloss right over these unchanging files and only deal with the fluctuating file space on the drive. This lessens the time the program takes to complete its operation. |
Before swapping to another task always save your work. If anything goes wrong or you lose power, your work will have been written to disc. This is very important if you are running several tasks at once, each of which has work or changes that will need to be kept. This is a good rule even when not task swapping. Save often while working, not just after completion. I set "ALT-S" to save work in any program that allows such a setting to be made. Then while working, I often hit "ALT-S". It's very, very rare that I ever lose work, and then it's only a few sentences, or one change in a graphics program. |
Point your "temp" and "tmp" variables to the RAM
Drive. DOS and its programs make & erase files as they
operate and they use a "temp" directory to do so, unless
one has not been set up. In that case, the program's
executable directory is typically used, slowing things
more due to the number of files through which the program
must look.
Either way, it takes longer to write these files to the hard drive than to memory, so set your "Temp" variables to point to the RAM Drive. In the AUTOEXEC.bat: MD F:\TEMP SET TEMP=F:\TEMP SET TMP=F:\TEMP Be sure to substitute your RAM drive letter for `F', should it be different. Run your AUTOEXEC.bat file, or reboot to have the changes take affect. A nice advantage of this is that when the computer is turned off or rebooted, any temporary files remaining are deleted automatically. This is because the RAM drive only exists in memory until power is removed or it is re-initialised by a reboot. |
Be sure to use ATTRIB to make your configuration files Read-Only.
Programs that modify the AUTOEXEC.bat and CONFIG.sys files will
not usually try to remove that attribute in order to make changes.
This trick provides a measure of protection, allowing one to decide
if and when such changes can be made.As well, this method provides some protection against attempts by users, other than yourself, to modify your configuration files. Only knowledgeable users will figure out that the Read-Only attribute is blocking them. |
FOREGROUND BACKGROUND
COLOUR COLOUR
CODE CODE
---- ----
30 Black 40
31 Red 41
32 Green 42
33 Yellow 43
34 Blue 44
35 Magenta 45
36 Cyan 46
37 White 47
|
To remember this,
simply use the following phrase:
Boys
Ride
Green
Yaks,
But
Mary
Can
Wait
Think about dumping your mouse altogether and going with a full-size,
weighted, desktop trackball. Now, you may be thinking: "Oh, those horrible
little balls...". No, I don't mean one of those laptop finger-balls, nor do
I mean one of those mouse thumb-balls. They are horrible. I am
referring to a stand-alone, large, desktop unit containing a trackball the
size of at least a billiard ball. In some models, the size approaches that
of a softball.The advantages of it are that it is always in the same spot on your desk, you can never run out of `mouse' pad, and arm/wrist movements are greatly diminished. If a weighted one is used, one may also spin & release it to quickly park the on-screen pointer in one corner or another of the screen. |
|
I also find a trackball better during sensitive work, such as pixel-level
graphic manipulations. After positioning the pointer, I can easily lift
my hand or fingers off the ball and then click without disturbing the
pointer location. The trackball housing is rooted to the desk and is much
more solid and stable than the movable mouse. I use the excellent
Kensington "Expert Mouse", Model #64215 both at work and at home.
Here's an Extra-Extra Tip: When the trackball begins to skip, becomes sluggish, or is slippery to grip, remove the ball and clean it with methanol or rubbing alcohol. Then take fine-grit sandpaper and cup it in the palm of your hand. Turn the ball within the sandpaper while applying pressure so that the ball's surface becomes dull. Lightly sand the entire surface of the ball. Clean once more with alcohol and replace. You will find the trackball will work as new. Do this whenever the ball becomes shiny from usage. |
For those environment variables that you
issue in your AUTOEXEC.bat, be sure to place
"SET" commands after those loading drivers
or other programs whenever possible.If they are located before the lines used to load drivers or other programs, DOS passes the information to each of those that follow, whether those programs use the information or not. This takes time and uses memory unnecessarily. |
To learn to hide output, read up on the following possible
methods:
|
Coming up are just a few of the reassigned keys that
I use to implement batch files and utilities while working in DOS. Some of
them work under specific circumstances, but I won't get into those here.
Nor will I discuss what is going on behind these commands. I just want these
descriptions to give you an idea of the capabilities I have available
by using this method. I hope they will inspire you to use more time-saving
keystrokes in your daily computer operations.
Since all my key reassignments are in memory, and so is every batch
file and the DOS commands they call upon, these execute
instantly. I love to watch a GUI (Graphic User Interface)
user's jaw drop when he or she sees how fast things happen using this
method - even on slower processors. You've heard the term: "Greased
Lightning" ? Well, this setup is Teflon Lightning! (-:
Here we go...
That was just a small sampling of the many keyboard reassignments
I have at hand. They do all of my repetitive work and much of the
less typical work I do at the computer. Initially, there was some
thinking involved to recall them all, so of course, I wrote a batch
file to list the macros, in case I forget. (-:
After a while, the key shortcuts become so ingrained that one
no longer really thinks about them. At that point, one becomes
a true power user and can run circles around any GUI interface.
...and now, one final tip:
Be sure to check
DOS Websites
for links to the programs
listed in this article.