Home  >  Article  >  Operation and Maintenance  >  What should I do if the win10 system variable path is accidentally deleted?

What should I do if the win10 system variable path is accidentally deleted?

angryTom
angryTomOriginal
2020-02-27 14:40:2311781browse

What should I do if the win10 system variable path is accidentally deleted?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn