I found there were postings previously by two other people who had exactly the same problem but with no resolution, so I am raising the issue again. Following is the result of a number of commands run directly from the command line (although I get exactly the same results in a batch file, too):
Since there is so little code involved, I can't imagine what I could possibly be doing wrong!
TCC 12.10.66 Windows 7 [Version 6.1.7601]
Code:
[Z:\]SetArray ArchivedFileList[100]
[Z:\]Echo %@ExecArray[ArchivedFileList,Dir Z:\*]
0
[Z:\]echo %_EXECARRAY
ECHO is OFF
[Z:\]Echo %ArchivedFileList[1]
Volume in drive Z is RAM disk Serial number is 286c:c2a2
[Z:\]UnSetArray ArchiveFileList
[Z:\]
TCC 12.10.66 Windows 7 [Version 6.1.7601]