Guest
[Entry]
"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:
Erase one file, a group of files, or entire subdirectories.
DEL [/A:[[-][+]rhsdaecjot] /B /E /F /I""text"" /K /N[defjst] /PQR /Sn /TWXYZ] file... /A:(ttribute select) /Q(uiet) /B (del on reboot) /R(ecycle bin) /E (no error messages) /S(ubdirectories) /I (match descriptions) /T(otal) /F(orce) /W(ipe) /K (no undelete) /X (remove empty subdirectories) /N(othing) /Y(es to all prompts) /P(rompt) /Z(ap hidden and read-only files)
File Selection
Supports attribute switches, extended wildcards, ranges, multiple file names, and include lists. Use wildcards with caution on LFN volumes; see LFN File Searches for details.
A /N with one of the following arguments has an alternate meaning:
d Skip hidden directories (when used with /S) e Don't display errors f Don't display the bytes freed in the summary j Skip junctions (when used with /S) s Don't display the summary t Don't update the CD / CDD extended directory search database (JPSTREE.IDX)
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:
del /[s1024,2048] /[d2006-2-8,2008-2-9] /[!*.C *.CPP] /S
To show all files less than a week old, excluding object files and directories:
dir /a-d /sf /[!*.obj] /[d-7]
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."
|