TIP: Click on subject to list as thread! ANSI
echo: os2
to: Bat Lang
from: Leonard Erickson
date: 1999-10-26 02:13:01
subject: WGET153

 -=> 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)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.