Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Set Permanent Environment Variable with PowerShell
easternnl
Sep 14th, 2018
707
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PowerShell
0.10 KB
| None
|
0
0
raw
download
clone
embed
print
report
[
System.Environment
]
::SetEnvironmentVariable
(
'TOOLS'
,
'C:\TOOLS'
,
[
System.EnvironmentVariableTarget
]
::User
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 8.53 KB
Untitled
3 hours ago | 9.04 KB
Untitled
4 hours ago | 5.87 KB
Untitled
9 hours ago | 7.54 KB
Untitled
9 hours ago | 5.23 KB
Untitled
11 hours ago | 7.19 KB
Untitled
13 hours ago | 7.04 KB
Untitled
14 hours ago | 6.53 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!