系统相关
首页 > 系统相关> > PowerShell: Config PATH

PowerShell: Config PATH

作者:互联网

 

https://codingbee.net/powershell/powershell-make-a-permanent-change-to-the-path-environment-variable

 

New-Item -ItemType Directory -Path C:\Windows\Path
New-Item -ItemType SymbolicLink -Target E:\program\visualvm\bin\visualvm.exe -Path C:\Windows\Path\visualvm.exe

$env:PATH += ";C:\Program Files\Scripts"
$env:PATH = "C:\Program Files\Scripts;$env:PATH"

 

标签:New,Program,env,Path,PATH,visualvm,Config,PowerShell
来源: https://www.cnblogs.com/dissipate/p/16299318.html