windows 10 path variable code example
Example 1: path in windows 10
$env:path -split ";"
Example 2: how to change environment variables in windows 10
Open the Start Search, type in “env”, and choose “Edit the system environment variables”:
$env:path -split ";"
Open the Start Search, type in “env”, and choose “Edit the system environment variables”: