I use a bash shell from command prompt window on my Windows 7 machine. I can do 'history' and get the list of commands in history buffer but when I do '!12' to reexecute command number 12, I get '!12 not found'.
I searched for a solution and found that by default the expansion character is set to '!' but could not find a way to check if it is set to something else.
-MG