^^Because what you have done can't be undone now without getting the original path string.
Do this and check if it works:
Do this and check if it works:
set PATH = %PATH%;%SystemRoot%\system32;%SystemRoot%