Previous shell setting prevents console2 from starting

11

1

Few months ago, I was using Cygwin and Console on windows 7 and created a bash session in Console. Now that I uninstalled Cygwin, Console complains with:

Unable to start a C:\cygwin\bin\bash.exe --login -i!

I sarched through the registry but couldn't find the remains of Console. How can I reset/get rid of this error?

barerd

Posted 2012-06-01T13:18:17.693

Reputation: 215

Answers

14

Console stores profiles at:

C:\Users\ [USER] \AppData\Roaming\ [CONSOLE TAB NAME] \console.xml

Try Replacing it with original one located in Installation Directory,

C:\Program Files\Console2\console.xml

Path might be different depending on where you have installed it.

Jay Pavagadhi

Posted 2012-06-01T13:18:17.693

Reputation: 156

Happened to me when upgrading GIT but I wasn't getting any errors, only a window that closes after a fraction of a second. Git moved from Program Files (x86) to just Program Files. I just had to change the shell command in the console tag, I think it was just exiting and I wasn't getting errors because it has to use cmd.exe /c which was able to be found, just the argument was pointing to the wrong folder for my default shell. – Jason Goemaat – 2015-10-27T05:09:43.397

And the problem data is inbetween <console> tags. Thank you. Yhat was what I was looking for. – barerd – 2012-06-15T05:46:35.330

0

Do a registry cleanup with a software like Ccleaner, they are mutch better than you at finding orphaned keys. Otherwise uninstall console, restart the pc and reinstall it.

peter

Posted 2012-06-01T13:18:17.693

Reputation: 229

Even Ccleaner didn't help, I tried every way to remove the remnants from the registry but at the end, had to completely wipe the registry using the windows rescue partition. To note, even selecting the option to backup home directory didn't help. – barerd – 2012-06-05T07:19:22.207