win10 powershell增加环境变量以及查看
105 2024-10-24 10:34
PS D:\Flutter> $env:path
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;D:\texlive\2020\bin\win32;D:\Program Files\Java\jdk1.8.0_201\bin;D:\Program Files\Java\jre1.8.0_201\bin;D:\Program Files 21\apache-ant-1.9.16\bin;D:\Program Files 21\apache-maven-3.3.9\bin;D:\Program Files 21\mysql-8.0.15-winx64\bin;%CATALINA_HOME%\bin;D:\Program Files 21\db-derby-10.12.1.1-bin\bin;D:\Users\Administrator\AppData\Local\Programs\Python\Python38;D:\Users\Administrator\AppData\Local\Programs\Python\Python38\Scripts\;%msys2_HOME%;D:\NXP\GUI-Guider-1.8.0-GA\environment\mingw\bin;D:\Program Files (x86)\graphviz-2.38\release\bin;D:\Program Files (x86)\SecureCRT\;D:\Program Files\MATLAB\MATLAB Runtime\v95\runtime\win64;D:\Program Files (x86)\ffmpeg-master-latest-win64-gpl\bin;D:\Program Files\Microsoft VS Code\bin;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;D:\Program Files\CMake\bin;D:\NXP\GUI-Guider-1.8.0-GA\environment\tools\unixTools;;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Local\atom\bin;D:\ProgramData\Anaconda3;D:\ProgramData\Anaconda3\Scripts;D:\ProgramData\Anaconda3\Library\bin;D:\ProgramData\Anaconda3\Library\mingw-w64\bin;D:\Program Files (x86)\GnuWin32\bin;
PS D:\Flutter> $env:PATH = $env:PATH + $pwd.Path + "\flutter\bin" + ";"
PS D:\Flutter> $env:path
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;D:\texlive\2020\bin\win32;D:\Program Files\Java\jdk1.8.0_201\bin;D:\Program Files\Java\jre1.8.0_201\bin;D:\Program Files 21\apache-ant-1.9.16\bin;D:\Program Files 21\apache-maven-3.3.9\bin;D:\Program Files 21\mysql-8.0.15-winx64\bin;%CATALINA_HOME%\bin;D:\Program Files 21\db-derby-10.12.1.1-bin\bin;D:\Users\Administrator\AppData\Local\Programs\Python\Python38;D:\Users\Administrator\AppData\Local\Programs\Python\Python38\Scripts\;%msys2_HOME%;D:\NXP\GUI-Guider-1.8.0-GA\environment\mingw\bin;D:\Program Files (x86)\graphviz-2.38\release\bin;D:\Program Files (x86)\SecureCRT\;D:\Program Files\MATLAB\MATLAB Runtime\v95\runtime\win64;D:\Program Files (x86)\ffmpeg-master-latest-win64-gpl\bin;D:\Program Files\Microsoft VS Code\bin;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;D:\Program Files\CMake\bin;D:\NXP\GUI-Guider-1.8.0-GA\environment\tools\unixTools;;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Local\atom\bin;D:\ProgramData\Anaconda3;D:\ProgramData\Anaconda3\Scripts;D:\ProgramData\Anaconda3\Library\bin;D:\ProgramData\Anaconda3\Library\mingw-w64\bin;D:\Program Files (x86)\GnuWin32\bin;D:\Flutter\flutter\bin;
PS D:\Flutter>
PS D:\Flutter> (type env:path) -split ';'
全部评论