Horst Schaeffer's DOS Pages
PBATS 3.2 Horst's PBATS - Batch Tools Download (60Kb)

This is an archive of tiny batch tools that have been around for several years.
Note: NSET, COUNT and INPUT do not work under Windows NT/2000/XP.


Variables, Output Handling
NSET2.1 pipe data from STDIN into an environmental variable
LISTMOD2.3 make list of commands from input list
LOGECHO2.1 custom entries for logfiles, with enhanced date handling
QECHO1.3 "quote echo" with control codes, defaults without CR/LF
COUNT1.0 Count, add, subtract (variable), fixed length option
FPATH1.1 locate path of program file, optional ChDir
RANDOM1.1 random number (given range) to STDOUT
Batch Control
EVERY1.0 run jobs once a day / on specified days of week
DREADY2.2 disk(ette) ready?, optional check "ready to write"?
PCHECK1.1 checks if (parallel) printer is ready, optional reset
ESPACE1.2 environment variable space report/check with errorlevel
KPUSH2.0 stuff keystrokes into keyboard buffer, code test mode
CHOIX1.1 CHOICE Clone with mouse support
INPUT1.2 string input, editing of existing variable..
ISDATE2.2 compare date (also file date, today)
TIMENOW1.0 is current time within given period(s)?
WAIT1.4 wait with prompt, key by errorlevel
WHAT1.0 hour/minute/year/month/day/day of week by errorlevel
File Utilities
CRLF1.3 convert: lines to be terminated by CR+LF, CR or LF
LINEX1.2 extract [multiple] range of lines from ASCII file
DELAGE1.3 delete/report files by age (days)
CRC322.1 report and check CRC32, optional list processing
LOGTRIM1.7 trim logfiles (min/max KB)
Effects
BANNER1.2 big font looping message
BIGFONT1.0 display big characters (4 lines high), round pixels
CSOUND2.2 sound output to PC speaker / resident beep replacement
WAIT41.4 wait for/until with large "digital clock", options
Other
PACO1.2 executable COM file archive (run with prefix)