Windows 10 command line tool will help you keep track of all your storage

Command Line
(Image credit: Shutterstock)

Microsoft has added a new built-in command line tool called DiskUsage to Insider builds of Windows 10 that reports how much disk space folders use.

As first reported by BleepingComputer, the news outlet discovered the new utility when testing Windows Insider builds 20277 and 21277. DiskUsage is capable of scanning entire drives or specified folders and reporting how much drive space each folder is using.

The utility is located in System 32 and is still in the early stages of development. Currently some features are now working as expected and there are even some spelling errors in the the DiskUsage's instructions.

Still though, admins may find it useful to analyze disk space from terminal windows though most Windows users will likely continue using popular tools such as WizTree or TreeSize.

DiskUsage

As DiskUsage is still in development by Microsoft, the tool currently reports file and folder sizes in bytes as opposed to doing so in megabytes or gigabytes. However, the software giant has included a /h argument to display file and folder sizes in a more conventional way.

It's also worth noting that DiskUsage requires administrative privileges so Windows Insiders that want to test it out for themselves will need to open an elevated command prompt in Windows 10 before running the tool or else it will display an error.

The tool can be used for general disk space scans but users can also configure it to say, display all of the folders on a drive that are larger that 1GB in size. DiskUsage also includes other features such as creating configuration files with the options you want to use automatically, output customization and the ability to skip over certain folders depending on their type.

We'll likely hear more about DiskUsage from Microsoft itself once the company is ready to ship the tool in an upcoming Windows 10 release. For now though, Windows Insiders running builds 20277 and 21277 can begin experimenting with it.

Via BleepingComputer

Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Pro
An American flag flying outside the US Capitol building against a blue sky
Sean Plankey selected as CISA director by President Trump
A young man working on laptop in office writing notes
Ending the fix/break cycle of End User Computing support
OpenAI
OpenAI wants to help your business build its next generation of AI agents
Ai tech, businessman show virtual graphic Global Internet connect Chatgpt Chat with AI, Artificial Intelligence.
Nation-state threats are targeting UK AI research
A hand reaching out to touch a futuristic rendering of an AI processor.
Business investors are positive about AI’s impact on the economy
Scam alert
Fake jobs and phone calls: How Americans lost $12.5 bn to fraud in 2024
Latest in News
Mufasa is joined by another lion, a monkey and a bird in this promotional image
Mufasa: The Lion King prowls onto Disney+ as it finally gets a streaming release date
An American flag flying outside the US Capitol building against a blue sky
Sean Plankey selected as CISA director by President Trump
An Nvidia GeForce RTX 4060 on a table with its retail packaging
Nvidia RTX 5060 GPU spotted in Acer gaming PC, suggesting rumors of imminent launch are correct – and that it’ll run with only 8GB of video RAM
Indiana Jones talking to a friend in a university setting with a jaunty smile on his face
New leak claims Indiana Jones and the Great Circle PS5 release will come in April
A close up of the limited edition vinyl turntable wrist watch from AndoAndoAndo
This limited-edition timepiece turns the iconic Technics SL-1200 turntable into a watch, and I want one
A close up of Gemma sitting down in Severance season 2 episode 7
'I'm like Gemma – I'm in the dark': Severance season 3 gets disappointing filming update from Apple TV+ star Dichen Lachman