Given that d is an alias for the internal command ‘dir’:

Why does it sometimes seem to randomly run a completely different kind of file listing program — one that appears to be d.exe from cygwin?:

^ Click here to see the full-size image, in case you can’t read this one ^

This should not happen.

I’d like to know myself!

Mood: interested in this problem
Music: Tiamat – Cain