then it seems like '-s' reports wrong filesize (maybe \r\n is counted as one character?)No. \r\n is not counted as one character. In my experience, the value returned by '-s' always agrees with that reported by the DIR command. Do a little test of that in isolation to convince yourself.
In reply to Re: Portable filesize check? (Win32)
by eyepopslikeamosquito
in thread Portable filesize check? (Win32)
by Eyck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |