CODE: [Copy to clipboard]for /f "tokens=3" %%c in ('dir /a:-d/s/-c/w c:\*.ljl^|find "File(s)"') do ( set allfilesize=%%c )