UNSETENV — Unset an environment variable

Synopsis

UNSETENV [/?] [/E] name

Options

/?
Display command syntax information.
/E
Do not display non-fatal error messages.

Note

Note the differences from other command interpreters in how the 32-bit Command Interpreter handles environment variables.

Description

The UNSETENV command unsets (deletes) a named environment variable. If the environment variable does not exist, an error is printed to standard error and a non-zero status returned unless the /E option is used.

SET ESET SETENV CLEARENV PRINTENV DPATH PATH LIBPATH PROMPT INPUT


The 32-bit Command Interpreter is © Copyright Jonathan de Boyne Pollard. "Moral" rights are asserted.