"I have a folder, and it has about 35,000 files in it, totaling about 90GB. I just want them unlisted so I can overwrite the space with more files. Is there any way for me to delete them all, permanently, and quickly? Can I delete large files command line Windows 10? Please help!"
It's inevitable to produce several large files on your Windows 10 computer during the use process. Then, you will receive a low disk space warning when your disk is running out of available storage space. Thus, you may want to do the disk cleanup to get much more free space. Apart from moving apps/folders to a different drive or removing temporary files, deleting large files is also an effective way to free up space.
However, the operation to delete large files Windows 10 is not as easy as the action to delete a single text on the desktop. For example, you may easily fail to delete large files from your Windows 10 computer using the traditional deletion method (drag to Recycle Bin or right-click to delete), or you might find removing large files using File Explorer takes forever.
To this end, using Command Prompt to delete large files on Windows 10 can make a big difference. This can help you delete all types of large files including, but not limited to, pictures, videos, music, and documents.
In this part, we will come to the most important part: How to delete large files on Windows 10 using the command line. If you follow the below steps, you will notice that the deletion process runs much faster.
✉ Warning: Inputting a wrong path will lead to the loss of files in the wrong location, and the operation is irreversible. Thus, please make sure you have typed the correct command line throughout the whole process.
Step 1. Type Command Prompt on the search bar, right-click the result, and select the Run as administrator option.
Step 2. Navigate to the file or folder that you want to delete (with all its files and subfolders) and copy the path from the top.
Step 3. Input cd path to locate the file you want to delete in Command Prompt, e.g. cd C:\Users\New folder.
Step 3. Type del /f/q/s *.* > nul command to delete all the files in that folder and press "Enter".
✍ The parameters of del /f/q/s *.* > nul command:
del -- is the command line for deleting files.
/f -- forces the deletion of read-only files.
/q -- enables quiet mode. You are not asked if it is ok to delete files (if you don't use this, you are asked for any file in the folder, which can be time-consuming and therefore counter-productive).
/s -- runs the command on all files in any folder under the selected structure.
*.* -- delete all files.
> nul -- disables console output. This improves the process further, shaving off about one-quarter of the processing time off of the console command.
Step 4. Type cd.. to go back to one level in the folder path and press "Enter".
Step 5. Type rmdir /q/s foldername command to delete the folder and all its subfolders and press Enter.
✍ The parameters of rmdir /q/s foldername command:
rmdir -- is the command for removing directories.
/q -- Quiet mode, won't prompt for confirmation to delete folders.
/s -- Run the operation on all folders of the selected path.
foldername -- The absolute path or relative folder name, e.g. o:/backup/test1 or test1
If you don't think you know much about the command line, I recommend you use an easier and safer way to delete large files Windows 10. That is to employ a third-party file deleting tool named Qiling Disk Master Professional. This software is compatible with all editions of Windows 11/10/8/7/XP/Vista, thus, you can not only use it to delete large files on Windows 10 but also on other Windows systems.
With the graphic interface, Qiling software ensures you know your disks clearly and exactly. Its "Delete Large Files" feature is friendly to users, showing some promising merits:
Now, download the demo version and have a look at how to delete large files Windows 10/11/8/7/XP/Vista:
Sometimes, you may fail to directly delete some files that are protected, corrupted, or infected by viruses. To prevent destroying other files on the same hard drive, you need a secure file shredder to help you. In such a case, Qiling software is a good helper:
Step 1. Open this powerful disk manager, click "Tools" and "Shred Files".
Step 2. Select Files or Folders to delete and choose the shredding method.
Step 3. Select "Proceed" and "Yes" to begin force deleting the ticked files or folders.
To conclude, this passage has shown you how to delete large files command line Windows 10 step by step. If you are not confident in handling with command line well, you are encouraged to resort to the best alternative - using a third-party file deletion program.
Qiling Disk Master Professional not only works on freeing up space by solving how to delete large files on Windows 10 but also is available to speed up computer performance by upgrading to SSD without restarting, allocating free space from D drive to C drive, recover lost data, migrating OS to SSD without reinstalling, etc.