How can I get the filesize of a file? I'm copying a large file from one place to another and I want to know when the COPY is complete... so I'm ASSUMING the only way os to keep checking if the filesize is the same as the original. Thanks!CD \that directory dir
And how do I extract that filesize for that particular file in a batch script?Try this batch:
for %%f in (c:\pathTo\myile.ext) do @echo The SIZE is: %%~zf