Skip to content

Instantly share code, notes, and snippets.

@jasarsoft
Created March 11, 2017 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasarsoft/03e07f2e808fb8e2df9f293b843a8381 to your computer and use it in GitHub Desktop.
Save jasarsoft/03e07f2e808fb8e2df9f293b843a8381 to your computer and use it in GitHub Desktop.
CMD: ForFiles - File name with file size
REM example 1
forfiles /p "C:\Windows" /s /m *.* /c "cmd /c echo @path - @fsize" > filesize.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment