cmd - How to add and execute windows environment variable in alias -


windows 10. cmder/clink environment.

for example want add alias fast history watching:

cat %cmder_root%\config\.history - work if copy-paste console.

but line @ aliases.config history=cat %cmder_root%\config\.history - doesn't work correctly.

output is: cat: '%cmder_root%\config\.history': no such file or directory.

so how can force alias executed before "been eaten" cat (^-^)

expanding environment variable names between % symbols cmd.exe , windows explorer shell feature. whatever program reading aliases.config file need likewise.


Comments