What is the DiskUsage tool in Windows 10

Windows 10 got a built-in disk space analysis tool called (diskusage.exe). Η νέα μικρο- is available in pre-release builds starting from build 21277.

Windows 10 Build 21277 is a release in the Dev Channel and for the first time brings Windows a disk space analysis program via the command line.
This application can scan your folders or even the entire drive and display the used space from each folder.

DiskUsage is located in C: \ Windows \ System32 \ diskusage.exe. Includes a built-in user guide that you can view while running diskusage /? in a command prompt window.

Let's see how it works.

Note: The tool requires administrator privileges, so open a command prompt window with administrator privileges first.

To find folders in C: \ Windows larger than 1 GB, run the command:

diskusage / minFileSize = 1073741824 / hc: \ windows

The number 1073741824 is 1 GB in bytes.

The diskusage application will display all folders larger than 1 GB on the drive. The gadget has some switches for the list of top N folders and files on the drive or in a folder. For example:

diskusage /t=5 /hc:\windows – Shows the 5 largest dirs in a particular one .

Finally, the application allows the creation of a settings file that will keep the defaults for the options you want to always use with the application, e.g. the /h switch. You can also customize the results it returns to block it certain files and folders.

DiskUsage is still under development and still not working properly. However, such a tool was needed in Windows 10. The official announcement will tell us more about the new application.

More commands

DiskUsage - Disk Usage Description: Summarize disk usage recursively for the given directory.
 Usage: diskusage [Options] [Directory] Options: / a, / systemAndReserve displays size for system files and reserved space / c, / csv displays in csv format / d, / maxDepth = N displays directory information only if it is N or fewer levels below command line argument / e, / minFileSize = SIZE displays directory information only if its FileSize is greater or equal than SIZE / f, / minSizeOnDisk = SIZE displays directory information only if its SizeOnDisk is greater or equal than SIZE / g, / displayFlag = FLAG specifies the flags value to determin which column (s) to display column value description SizeOnDisk 0x001 the on disk size FileSize 0x002 the end of file size SizePerDir 0x004 sum of SizeOnDisk for top level child Files 0x008 number of child files ChildDirs 0x010 number of child directories FilesPerDir 0x020 number of top level child files DirsPerDir 0x040 number of top level child directories CreationTime 0x080 file creation timestamp LastAccessTime 0x100 file last access timestamp LastWriteTime 0x 200 file last write timestamp Attributes 0x400 file attributes / h, / humanReadable displays size in human readable format / i, / iniFile = FILE takes all the parameters from an INI file.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.082 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).