a question regarding messing with Windows Path variable. My situation is quite specific:
- I was trying to install ffmpeg according to this tutorial https://www.geeksforgeeks.org/how-to-install-ffmpeg-on-windows/
- The last step was setting the path variable
setx /m PATH "C:\ffmpeg\bin;%PATH%" - It worked, however afterwards I noticed that if I try to call python from the command prompt or the powershell if run as administrator, I started getting
'chcp' is not recognized as an internal or external command,(although works fine if run as user), indicating that something is wrong with PATH variables. - I looked into my variables and saw this edit.
It seems to me that the command added the ffmpeg line to the system path and possibly overwritten the original, which is why there are issues when using command prompt as administrator. It probably should have added it to the user Path (not system Path variable)
If that is the case, is there a way to restore the previous system Path variable. Maybe I can paste it from the user Path variable?