CleanPath will automatically strip out any invalid directories from your path (both for the current command shell and in the global configuration in the Registry -- though most other things won't notice these changes unless you log out or otherwise poke them to).
It doesn't fix directories that still exist but that shouldn't be in %PATH%, though.
- tye
In reply to Re^2: system command can't spawn cmd.exe (CleanPath)
by tye
in thread system command can't spawn cmd.exe
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |