path powershell windows 10 code example
Example 1: add to path windows powershell
setx PATH "$env:path;\the\directory\to\add" -m
Example 2: Powershell PATH
# List Paths
$Env:Path
setx PATH "$env:path;\the\directory\to\add" -m
# List Paths
$Env:Path