cat %CMDER_ROOT%config.history | grep abc
In Cmder::Cmder sessions history is a doskey macro. The output of a macro cannot be passed using the pipe | but you could use the command that is the content of the doskey macro.
Referenced: https://github.com/cmderdev/cmder/issues/1770
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…