I've been working with arrays lately to read lists from a file. Now I noticed that once an array has
been filled, it can no longer be deleted or read in again. That means, the commands
UNSETARRAY arFilesList or SETARRAY /F /R filename arFilesList are completely ineffective.
I wrote a little...
It may already be possible to do this, but if not--redirect command output to a user-defined variable instead of to a file, including any CR/LF's:
MyVar would be a variable, not the name of a file.
DIR > MyVar
Volume in drive C is...