From: "yawnmoth" <
[email protected]>
| That's not via the command line, as I had asked

|
| I want it to be do'able from the command line for the purposes of
| automation. It's something I will probably be doing multiple times
| over and if I could just type in "start" or something, that'd be a lot
| easier than going through a bunch of mouse clicks and typing stuff in
| when appropriate.
You can't do it from a command line.
Anything you would do would be a daughter process and all child processes would inherit the
Environmental variables but the parent process won't. Thus you have to set the
Environmental variables in the OS such that they are loaded from the Registry in the parent
process and all daughter and child processes thus inherit the variables.
the same goes for Win9x/ME and that's why you set the variables in AUTOEXEC.BAT so all
daughter processes and child processes would inherit the Environmental variables. The
different in WinME vs. Win9x is that the OS parses AUTOEXEC.BAT for the SET commands and
then updates the Registry whiles Win9x actually interprets and sets all environmental
variables in AUTOEXEC.BAT.