![]() ![]() #"Removed Other Columns" = Table. Source = Folder.Files(paramRootFolderSearch), LenRootFolderSearch = Text.Length(paramRootFolderSearch), ValueRootFolderSearch = paramRootFolderSearch, This query provided the data for me to create a pivot table ( >, ), and I was able to identify a few files that I could deleted which cleared up a lot of space in my directory. I used this as a guide: MSSQLTips: Retrieve file sizes from the file system using Power Query. This command can be used to get directory size. But there is a tool called diruse.exe which can be used to get folder size. The script below can be pasted into a Blank Query The only thing you'll need to do is add a parameter named "paramRootFolderSearch" then add your value, such as "C:\Users\bl0040\Dropbox\". Get directory size There’s no Windows built in command to find directory size. But if you are open to using PowerQuery (Excel add-in, versions 2010 ) then you can create some pretty compelling file size analysis. I realize this question asked for file size analysis using CMD line. ![]()
0 Comments
Leave a Reply. |