Windows

set

SafeShow/set env vars (session)

set [variable]

Lists environment variables (prefix match works). Assignments last only for this CMD session.

Examples

  • set PATHInspect PATH

Syntax

set [VAR[=value]]

Before you run it

Changes are session-local.

Related commands

  • setxSet env vars permanently
  • whereLocate an executable

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store