FWIW, I control most things with batch files, using PUSHD/POPD to save and
restore starting drives and directories. The directory where I have my batch
files is the first one in my PATH, and my PATH is very short. I don't like the
idea of having EDIT.CFG (or whatever) files all over my hard drive as Dennis
suggests, though that is certainly one way to approach things.. Regarding
environment variables, the only "permanent" ones I have (the ones I set up at
boot time) are what I consider "system level" environment variables -- those
directly related to DOS and the TSR's I normally use. I don't (generally) set
up environment variables for individual programs (like EDIT) at boot time, but
just set them temporarily with the batch file I use to run the program. If a
program doesn't have a config file or an environment variable to store the
default values and I don't like the default values for some reason, I call a
"keystroke faking" program in the batch file to change the settings after the
program starts (I usually use my SCANCODE program to do that). There are lots
of different ways you can do things in DOS. There is no "right" way -- you can
set things up in the way that suits you. But, because there are so many
different ways to accomplish the same thing, you can also end up with a big
mess on your hands if you don't keep on top of it and stay consistent. The
main reason I use batch files is because it really gives you the most
flexibility -- you can accommodate and "force" almost any program to do what
you want it to do with batch files and small utilities instead of just putting
up with the limitations that come with most programs.
____________________________________________________________
93% of Americans Won't See What's Hidden In This WWII Photo
pro.naturalhealthresponse.com
http://thirdpartyoffers.juno.com/TGL3141/5b4cc576419b7457604d9st02vuc
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user