Skip to content

Instantly share code, notes, and snippets.

@angryLid
Created November 15, 2021 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angryLid/6dbe2b882cb38f6bdc28e644ea79e1d1 to your computer and use it in GitHub Desktop.
Save angryLid/6dbe2b882cb38f6bdc28e644ea79e1d1 to your computer and use it in GitHub Desktop.
Dim objShell, strPath1, strPath2
Set objShell = WScript.CreateObject("WScript.Shell")
strPath1 = """%windir%\System32\rundll32.exe"""
strPath2 = " sysdm.cpl,EditEnvironmentVariables"
objShell.Run strPath1 & strPath2
Set objShell = Nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment