Link to home
Start Free TrialLog in
Avatar of frsupport
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
Avatar of grishav
grishav

"set" command gives you the whole list
ASKER CERTIFIED SOLUTION
Avatar of knightEknight
knightEknight
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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"
or indeed to yet another method the same

set p

shiows all starting with p
or indeed to yet another method the same

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.