To display all environment variables:
set
To display all environment variables starting with p e.g. PATH:
p
PATH
set p