The command line program included in Windows (Vista) isn't always up to snuff. Are there any good program I can download that I can use as a replacement?
migrated from stackoverflow.com Jan 10 '10 at 22:58
If you're looking for Unix like command tools, then have a look at Cygwin.
If you're looking for another console, have a look at Console (although it's still marked beta, it's very usable and perfectly stable).
UnxUtils provides most of the common *nix commandline utilities, compiled/ported to run natively under windows, without cygwin. "Setup" is as easy as extracting the zip somewhere, and pointing your PATH at it.
MSYS is another system, provides both a shell, a terminal, and many common utilities.
Generally I would recommend avoiding Cygwin unless you absolutely need it, it tends to be quite slow in my experience, due to the fact it has to emulate many functions that don't exist in windows. As compared to UnxUtils or MSYS, where they have actually ported the code to work under the available windows APIs.
Console 2 is a replacement for the standard Windows command prompt:
I've used Take Command since the days it was called 4DOS. Originally, it was a replacement shell scripting language. They've since turned it into a multi-tabbed terminal, with IDE capabilities. I find that a little overkill. However, the original scripting language part is now released as freeware.
It's compatible with CMD (low learning curve), but most of the commands are enhanced in various ways. For example, here's the DEL command:
What I find really useful is the support for ranges (date, size, attribute) on all file commands, If, for example, I wanted to delete all files except C and C++ files in a subdirectory structure that are between 1024 and 2048 bytes, and were created between Feb 8th, 2006 and Feb 9th, 2009, this will do it:
To show all files less than a week old, excluding object files and directories:
There are also several hundred built in functions and variables not in CMD.
Aliases, command line history, command editing, etc. are there as well.
Compared to BASH and Cygwin, it's very Windows-specific. Compared to PowerShell, it's a lot less verbose. And it works in Console, too.
BTW, Joe Internet, thanks for the link to CH. It looks very interesting.