Guest User

Untitled

a guest
Oct 18th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. @echo off
  2. setlocal &REM enabledelayedexpansion
  3. for %%a in (*) do (
  4. set "ext_%%~xa=*%%~xa"
  5. )
  6. for /f "tokens=2 delims==" %%a in ('set ext_') do (
  7. for /f "tokens=1,3" %%b in ('dir /-c %%a^|findstr /e "Bytes"') do echo %%a: Files:%%b Size: %%c
  8. )
  9.  
  10. 15 Datei(en), 42291 Bytes <<< this is the needed line
  11. 0 Verzeichnis(se), 358679015424 Bytes frei
Add Comment
Please, Sign In to add comment