0

We can use to get the file name dir /b>list.txt using windows CMD. is there anyway we can get the file size info with name using cmd/mediainfo/ffmpeg or other app? CMD can generate the file size but it's in "bytes" formate. i am looking for KB/MB/GB format.

logo.png 32KB
Header.png 160kb
firekid2018
  • 143
  • 11

1 Answers1

1

I believe your question already been resolved here you can check directly to this link below.

forfiles /s /c "cmd /c echo @path @fsize" >filelist.txt

List files with path and file size only in Command Line

Robert Tan
  • 31
  • 4