Re: dir()

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless said...


Is it possible to know the size of the sequence dir() will return before i call dir()? Some of these dirs have 500,000+ files in them, and the memory Eu is using to dir() isn't returned to the OS when that var is cleared, pushing Eu to use 300megabytes or more of memory. This is unacceptable.

Assuming that you're on Windows, I think you could use FindFirstFile and FindNextFile with wildcards.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu