Tuesday, March 1, 2011

Get File Size of any file

@echo off
FOR %%A IN (C:\APP\log.txt) DO SET FileSize=%%~zA
echo %filesize%
pause

No comments:

Post a Comment