SCOUG-HELP Mailing List Archives
Return to [ 14 |
March |
2004 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
=====================================================
If you are responding to someone asking for help who
may not be a member of this list, be sure to use the
REPLY TO ALL feature of your email program.
=====================================================
J. R. Fox wrote:
>
> Just want to see if I've got this right:
> Capture the existing PATH to a temp file,
> bring it into your editor of choice,
> tack some new item on at the end,
> then re-issue the edited version from an OS/2 command prompt,
> and voila, you have an altered Path until the next reboot ?
Foxey,
The PATH is an environment variable. All environment variables may be
referenced by placing their name between % symbols.
Thus, to put something at the beginning of the path,
set path=C:\foxey;%path%
and to put it at the end of the path,
set path=%path%;C:\foxey;
Note that the PATH variable often already has a trailing ";" so in my
second example the ";" before C: isn't necessary but it doesn't hurt
anything _and_ it will keep the PATH from failing if the original PATH
does not have a trailing ";".
- Peter
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 14 |
March |
2004 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|