Greetings,
I have a program that iterates through a series of text files and if the file size is 0 it writes to the file.
The problem is that I have text files that are empty but show up as being 1kb in size.....
Is there a way to find out if the file is empty preferably without the expense of "reading it" ?
Thanks,
I have a program that iterates through a series of text files and if the file size is 0 it writes to the file.
The problem is that I have text files that are empty but show up as being 1kb in size.....
Is there a way to find out if the file is empty preferably without the expense of "reading it" ?
Thanks,