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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store