Check whether a file is empty.

FreeSlave freeslave93 at gmail.com
Sat Dec 9 18:36:01 UTC 2017


On Friday, 8 December 2017 at 19:13:20 UTC, vino wrote:
>
> Hi,
>
>  The code is same just copy pasted the code form Windows 7 into 
> Windows 2003 and executed, in Windows 7 the log file is of size 
> 0 where as in windows 2003 the log file is of size 2 byte where 
> the log file in both the server is empty.
>
> From,
> Vino.B

What do you mean exactly by empty log file? If the file looks 
blank in notepad it does not mean it's empty. What are those 2 
bytes?
Which program does create this file? It may work differently 
depending on the system or different versions are installed.


More information about the Digitalmars-d-learn mailing list