frsupport
asked on
View environment variables (path) via command prompt
Hi guys ,
just wondering if there is any way of viewing a users curretnt "path" environment variables via a command prompt
can you help?
Thanks
just wondering if there is any way of viewing a users curretnt "path" environment variables via a command prompt
can you help?
Thanks
"set" command gives you the whole list
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
echo %path%
'path' command gives you only the path
yes, that's the idea. :)
SET works if you want the whole environment. Also, if you want to see only the variables that contain "PATH" in the name, then do this:
C:\> SET | find/i "PATH"
SET works if you want the whole environment. Also, if you want to see only the variables that contain "PATH" in the name, then do this:
C:\> SET | find/i "PATH"
or indeed to yet another method the same
set p
shiows all starting with p
set p
shiows all starting with p
or indeed to yet another method the same
set p
shiows all starting with p
set p
shiows all starting with p
. %path% is the inbuilt environment variable.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.