-=> Quoting Bat Lang to Leonard Erickson <=-
LE> Alas, "HOME" is not something like "Path". It has no meaning to the
LE> OS. The *program* that wants it set is probably using it to store the
LE> location of its "home" directory. The *program* doesn't expect it to
LE> be shared.
LE> But you can set up BAT or CMD files to run the programs. And use this
LE> sort of setup:
LE> SET SAVE=%HOME <<====<<<
LE> SET HOME=xxxxxx
LE> {stuff to actually start program goes here}
LE> SET HOME=%SAVE <<====<<<
BL> Shouldn't those two marked <<====<<< be %HOME% and %SAVE% ??
BL> Thanks, and Good Modeming! /\oo/\
Depends on your shell program. But I think most accept the ommission of
the trailing % when the resulting construct is unambiguous.
--- Blue Wave/DOS v2.30
7102/1
* Origin: Shadowshack (1:105/51)
|