
Even with the original code, I'm not getting the right output for problems.txt. I'm not sure about sum since it truncates floating point numbers.
I'll see if I can't post some more details when I get some time.

I'll have to try it on my NT system. Thank you!Squashman wrote:Samir wrote:When did this feature in dir come about? I know it wasn't there in the dos 6.0 days. Did it start in win95? Or was it with win2k or xp?
I would assume Windows NT.
I checked the help on DIR and didn't see it, but tried and you're absolutely right! Learned something big today! Thank you! I'll see how I can best incorporate this. Probably won't change speed, but definitely will make the code easier to read.Squashman wrote:You can do multiple file masks with the DIR command.
On the systems where this executes, it's not installed.Squashman wrote:Maybe Robocopy would be faster at finding them.