I installed MinGW some time back and recently uninstalled and reinstalled the latest version of MinGW and msys.


When I tried to run msys.bat I get a "logout" on the prompt line and it exits. When I tried to run either sh, or bash, I get an "exit" on the prompt line and the shell exits immediately.


I then uninstalled to install a clean msysgit. However, I get the same results from msys.bat, sh, and bash. However, this time I have rxvt.exe, which I can run without any apparent problem (and without it immediately exiting, of course!)


I suspect maybe some left-over config file(?) from my initial installation in which I did something stupid, but I don't know much about this environment… I don't see any .bashrc or similar files, at least in my MinGW/msysgit directories.


Any thoughts or suggestions would be much appreciated.  I pretty much don't know what I'm doing, so please don't hesitate to point out the blindingly obvious.  ;)