How to check file size?
Posted: 22 Jul 2015 02:41
I want to check if a file size is greater than a certain size (and perform some commands if yes).
So I need a code similar to
if filesize("myfile.txt") > 300 (
....)
How can I do this in a DOS batch script?
Thank you
Peter
So I need a code similar to
if filesize("myfile.txt") > 300 (
....)
How can I do this in a DOS batch script?
Thank you
Peter