|
Answer» Hi Friend,
I need to know the DOS COMMAND to get the SIZE of the file.
For example, i am having file named as "Vinoth.Txt" with the size of 80Kb. I need know the size of that file using dos command. And also i need to print that Size using echo statement.
Please help me to RESOLVE this issue.
Thanks in advance.
Regards, Vinoth R set filename=Vinoth.txt for /F %%A in (%filename%) do set filesize=%%~zA echo file size is %filesize% bytes
|