Checking the path :
reg query "HKCU\Environment" /v Path
reg query "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v Path
The GUI way :
- Win+Pause keys
- Advanced system settings
- Environment Variables button
- Check
Path
value in System variables.
Checking any starting script for CMD :
reg query "HKCU\Software\Microsoft\Command Processor" /v AutoRun
reg query "HKLM\Software\Microsoft\Command Processor" /v AutoRun
Searching anywhere in the Registry :
reg query "HKCU" /s|find /i "C:\Ruby200"
reg query "HKLM" /s|find /i "C:\Ruby200"
Obvious advice : restart your computer if you just uninstalled Ruby 2.0.