

You can use the cleanmgr command to launch the Disk Cleanup tool using Command Prompt.
#How to delete junk files from your harddriver how to#
Here is how to use the tool and command-line switches supported. You can use the Command Prompt to launch Disk Cleanup and perform some automated cleanup tasks directly. It can clean up downloads, temporary internet files, recycle bin, and even system files.

You can speed up this process with the help of commands to access the Disk Defragmenter, diskpart, and the Disk Cleanup tool.ĭisk Cleanup is a built-in Windows utility to help you free up space on your computer’s hard drive. If any unwanted files remain, you can remove them manually by, for example, clearing your temp folder.

The Disk Cleanup tool and the Storage Sense feature in Windows 10 make it fairly easy to clean up your computer. If you are new to Microsoft’s popular command processor, check out our beginner’s guide to the Windows Command Prompt. While the graphical user interface is handy for most people, some may prefer the Command Prompt to perform several tasks for its efficiency and performance benefits. Why Clean Up Your Computer Using Command Prompt?Ĭommand Prompt is a built-in command processor available on almost all Windows versions since Windows 3.1. Here are a few ways to clean up a slow Windows computer using Command Prompt. However, one lesser-known way to clean your computer is via the Command Prompt. Windows comes with several built-in system-cleanup utilities, such as the Disk Cleanup tool. Keeping your computer free from clutter can help improve performance and free up tons of storage space.
