I always get surprised by how far the Windows console shell has progressed since Windows 2000. It’s no zsh, but it’s certainly tolerable. I wish the syntax to the tricks were a little more consistent, but I guess they were operating under backwards compatibility constraints.
Today, I learned that the Windows shell has the equivalent of the UNIX pwd. For Windows 2000 and up, %CD% always evaluates to the current directory. My thanks to Google and the blog entry about getting the current directory on Windows.
Advertisement