• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1622
  • Last Modified:

Alternative to printenv

Is there an alternative on Windows for the command printev which prints all the environment variables?
0
IUAATech
Asked:
IUAATech
2 Solutions
 
ozoCommented:
set
0
 
ahoffmannCommented:
> .. alternative on Windows ..
are you asking for Unix or M$ ?

on Unix it depends on your shell:
  printenv
  env
both return the environment in any shell (where env is not recommended)
in some shells (sh, bash, etc. )
  set
works also ('cause they don't distinguish between environment and ahell variables)
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now