Allow a "dircmd" type of environment variable for
Posted: Wed Feb 21, 2007 5:52 am
Some "DOS" type commands, such as DIR and XCOPY, allow you to specify command line parameters in an environment variable (called DIRCMD and COPYCMD).
So in case you always want certain command line parameters passed each time, you don't have to keep adding them on the command line - you just define the environment variable to contain the command line options you always want, and every time you run those programs from then on, it is as if you had added those command line parameters as well.
For example, I define DIRCMD to be /ogne/a/x, since I always want those command line options for the DIR command.
Of course anything that you explicitly add to the command line will override anything specified in the environment variable.
Can you make wincmp and wndsync support this as well, so that I can predefine certain command line options in corresponding environment variables rather than have to add them to the command line each time?
So in case you always want certain command line parameters passed each time, you don't have to keep adding them on the command line - you just define the environment variable to contain the command line options you always want, and every time you run those programs from then on, it is as if you had added those command line parameters as well.
For example, I define DIRCMD to be /ogne/a/x, since I always want those command line options for the DIR command.
Of course anything that you explicitly add to the command line will override anything specified in the environment variable.
Can you make wincmp and wndsync support this as well, so that I can predefine certain command line options in corresponding environment variables rather than have to add them to the command line each time?