@rjbull: His name is Stefan
-brotherS
Apologies to Stefan.
I just mentioned Bob Stephan, author of GET. That really is Bob's surname. At my age, maybe you should expect neuronal crosstalk...
PD version of GET:
GET -- Bob Stephan's Batch file enhancer -- a public domain utility
Syntax: GET command argument
Purpose Command Argument Environment Errorlevel Extended
--------- ------- -------- --(GET=)--- --(Exit)-- --[E]---
Get character C[E] ["prompt"] [chars] Character ASCII dec. No Echo
Get yes/no aNswer N[E] ["prompt"] None Character ASCII dec. No Echo
Get string S[E] ["prompt"] None String Length No Echo
Moving Text(GetaKey)T[E] "Filespec" [chars] Character ASCII dec. No Echo
Get DOS version D[E] None Major Vers. MajorMinor MinorEnv
Get environment left E[E] None Bytes left Bytes left Bytes/10
Get file size (DIR=0) F[E] Filespec Hex bytes Kilobytes Kb/10
Get disk space K[E] [driveletter] Kilobytes Kilobytes Kb/10
Get memory free M[E] None Kilobytes Kilobytes Kb/10
Clear (Blank) Screen B[E] [New attribute] Current or last attr. HexAttr
Check for printer(PRN) P[E] None 1=yes,0=no 1=yes,0=no Initialize
Get/set video mode V [New mode] Current or last mode None
Check coprocessor 7 None 1=yes,0=no 1=yes,0=no None
Check for ANSI.SYS A None 1=yes,0=no 1=yes,0=no None
Get current directory Y[E] None Directory Level/Drive Drive
Surrogate [char] args: } is Carriage Return, ~ is Escape, ` for Extended Keys.
Version 2.8 needs three pages of online help screens.