Smeezekitty,
Your code works perfect if we know the total number of files in the directory.
However, the function of Extract.exe is to extract data from some anolog logging devices and then convert to text files. The amount of files generated depends on the data that collected before the requested period.
Therefore, the number of files in the collected folder is unknown before Extract.exe is being run.
My purpose of using progress indicator is to indicate that process of collection and data convertion is still running. Telling user to be patient.
Thanks,
Thomas