What to do if the win10 system variable path is accidentally deleted
The following is the system default PATH variable value, you can add it manually:
PATH in user variables:
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps
PATH in system variables:
%SystemRoot%\system32 %SystemRoot% %SystemRoot%\System32\Wbem %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ %SYSTEMROOT%\System32\OpenSSH\
Specific adding method:
Right-click "This Computer" and select Properties-Advanced System Settings-Environment Variables.
Double-click PATH in user variables and system variables to edit.
Note: For the PATH added when a third-party program is installed, you can only search for its corresponding PATH online, and then add it manually, or reinstall the software.
Recommended related articles and tutorials: windows tutorial
The above is the detailed content of What should I do if the win10 system variable path is accidentally deleted?. For more information, please follow other related articles on the PHP Chinese website!