The environment variable path is accidentally deleted and the recovery method:
1. The shortcut key " windows+r " brings up the "run window".
2. Enter " regedit " and click "OK".
Path: Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment
3. Open the registry editor and click " HKEY_LOCAL_MACHINE ".
4. Click " SYSTEM ".
“
5. Click " ControlSet001 ".
6. Click " Control ".
7. Click " Session Manager ".
8. Click " Environment " to find the " path " on the right .
9. Then click the right mouse button on the path and click " Modify ".
10. Copy the numerical data.
11. Then create a new path in the system variables, paste the copied content into the variable value, and then confirm.