delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/23/08:00:03

From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: changing "path" in Xp messes with something?!
Date: 23 Dec 2002 12:50:34 GMT
Organization: Cornell University
Lines: 42
Sender: asu1 AT cornell DOT invalid (on pool-141-149-207-251.syr.east.verizon.net)
Message-ID: <Xns92ED4FC811E1Casu1cornelledu@132.236.56.8>
References: <63b211f7 DOT 0212222050 DOT 6fa01d20 AT posting DOT google DOT com> <Xns92ED75B449Easu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <63b211f7 DOT 0212230422 DOT 223fb924 AT posting DOT google DOT com>
NNTP-Posting-Host: pool-141-149-207-251.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1040647834 25914 141.149.207.251 (23 Dec 2002 12:50:34 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 23 Dec 2002 12:50:34 GMT
User-Agent: Xnews/5.04.25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

shayoom AT hotmail DOT com (Jonquil) wrote in news:63b211f7.0212230422.223fb924
@posting.google.com:

> Windows Xp wants PATH to point to:
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\wbem
> 
> so i will need to have a variable PATH that will point to both::
>  c:\djgpp\bin;%PATH% and
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\wbem

please read my message again. 

you need to add to the value of the variable, not replace it.

if you choose to edit the system level PATH variable, the value of your 
PATH variable should be:

c:\djgpp\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32
\wbem

> now, i have it to what windows wants, so, my rhide wont open.
> is it possible for a variable to have two paths??
> if yes, how can i do that? otherwise, how can we run RHIDE in an Xp os
> without messing with the system itself?

for illustration, here are the contents of my PATH:

C:\Program Files\Common Files\GTK\1.3\lib;C:\djgpp\bin;C:\Perl\bin;C:
\php;C:\Python;C:\jdk\bin;C:\Tcl\bin;C:\gs\gs7.04\bin;C:\gs\gs7.04\lib;C:
\Vim\vim61;C:\tex\bin\win32;C:\util;C:\util\im;C:\jakarta\ant\bin;C:
\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\cygwin\bin;C:
\cygwin\sbin;C:\cygwin\usr\bin;C:\cygwin\usr\sbin;C:\cygwin\usr\local
\bin;C:\cygwin\usr\local\sbin;C:\Program Files\Common Files\Adaptec 
Shared\System

as you can see, it is possible for PATH to contain multiple directories.

-- 
A. Sinan Unur
asu1 AT c-o-r-n-e-l-l DOT edu
Remove dashes for address
Spam bait: mailto:uce AT ftc DOT gov

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019