Check whether a file is empty.

Vino vino.bheeman at hotmail.com
Fri Dec 8 09:40:18 UTC 2017


Hi All,

   Request your help on how to check whether a given file is 
empty, I tried the getSize from std.file but no luck as in 
windows 7 is the file is empty the size of the file is 0 bytes 
but in Windows 2003 if the file is empty the size of the file 
show as 2 bytes.


From,
Vino.B


More information about the Digitalmars-d-learn mailing list