The Windows or OS/2 commandline window (Windows "command prompt" or "OS/2 Window") is useful, but not very comfortable. Some simple functions are not part of the default installation. You need some freeware programs to extend the default functionality.
DO.EXE replaces a handful of old freeware exe programs which stopped running properly due to integer overflow. DO.EXE also works if the results are larger than 32 bits, e.g. free disk space larger than 2 or 4 GB.
Here you can download the current version 1.46 for Windows DO-WIN.ZIP (40 kB) and for OS/2 DO-OS2.ZIP (40 kB).
DO.EXE expects at least one command parameter behind "DO" for selecting the function. To get a command overview, simply type DO without parameters:
DO 1.46 for eCS and OS/2 5/2005 Freeware by Martin Vieregg www.hypermake.com available for eCS, OS/2 and Windows (Win95se or later) General Syntax: DO COMMAND [.] [WILDCARD1 WC2...] [COMMANDS] [SINCE:MM-DD-YY] DO DISKFREE D: shows the free disk space of disk D: DO DISKSIZE D: shows the size of disk D: DO DISKINFO D: shows free disk space and size of disk D: and ?: show all drives DO LISTDIR lists all directories DO SIZE D:\MYDIR shows the size of all files in the directory (with subdirs) DO TREE shows a directory tree DO LIST shows full file name of all files DO LISTSIZE shows full file name and size of all files, LISTSIZEDATE plus date DO TYPE *.TXT prints all *.TXT files to stdout (with subdirs) DO SEARCH String1 AND String2 search strings. (operators: AND OR ANDNOT) DO SEARCHLIST writes only the filename, not the occurences of the string DO LOWERCASE, UPPERCASE, CAPITAL renames files: file.txt, FILE.TXT, File.txt DO TIME:HH.MM changes the file time, but remains the file date DO DATE:MM-DD-YY or DATE:DD.MM.YY changes the file date, but remains time DO WHICH PROGRAMNAME shows full filename of progs which will be executed DO WAIT n waits for n seconds; DO WAIT hh:mm waits for daytime DO WAITFORDRIVE D: waits for availability of drive D: (floppy or CD-ROM) DO DELETE deletes all files. Test with DO LIST! BE CAREFUL !!!! For most commands, you can type wildcard filenames. A single dot omits subdirs.
You will find a more detailed description of the functionality Readme.txt or Do.txt
in the archive file.