printenv

NAME

printenv - Windows command-line utility to print the values of environment variables

SYNOPSIS

printenv [variable...]

DESCRIPTION

The printenv(1w) utility prints all or part of the environment. If no arguments are given, printenv prints the entire environment. If one or more variable names are given, it prints the value of each one that is set, and nothing for each one that is not set.

ARGUMENTS

variable
Name of the environment variable whose value is to be printed.

DIAGNOSTICS

Possible exit-status values are:

0
All specified variables were found.
>0
At least one specified variable was not found.