Very interesting, I never knew this _PRESERVE was available. If I only knew it before... Every time I need to DIM an array that may have a different number of files, I have to SHELL _HIDE a DIR command, read the output file and count the number of lines, for only then make a DIM. With REDIM _PRESERVE it's so much more practical.