Forum Discussion
SchmittyT9
9 years agoNew Contributor
Yep it definitely refers to the second line.
For context, the code is looping and printing out the size of the file as it is being created, so the size is progressively getting bigger, then the loop exits when the file size has stopped increasing.
It's possibly what you said, the file is in use when the size is checked... seems to be an issue for Windows 7 though but not on Windows 10...
Would there be a better alternative to wait for when a file has finished being created?
Related Content
- 7 years ago
Recent Discussions
- 10 hours ago