windows print env variable
echo %PATH%
windows echo environment variable
// In a Windows console (cmd)
// All environnement variables:
set
// A single one:
set MY_VAR
// Or:
echo %MY_VAR%
// Sets an environment variable called MY_VAR
set MY_VAR=hello
// Display
set MY_VAR
-> MY_VAR=hello
// Unset an environment variable
set MY_VAR=
// Display
set MY_VAR
-> Environment variable MY_VAR not defined
// Display the PATH environment variable
echo %PATH%
-> PATH=xxxxxxx
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us