CLEARENV — Unset all environment variables

Synopsis

CLEARENV [/?] [/E]

Options

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

Note

Several environment variables affect the operation of the command interpreter. Without the PATH environment variable, for example, external commands cannot be located unless they are in the current directory. Use this command with caution.

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

Description

The CLEARENV command unsets (deletes) all environment variables.

SET ESET SETENV UNSETENV PRINTENV DPATH PATH LIBPATH PROMPT INPUT


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