Windows 10: Is it safe to delete all empty folders from C:\ ?

Discus and support Is it safe to delete all empty folders from C:\ ? in Windows 10 Software and Apps to solve the problem; Hello,I've found a short line of CMD code that finds and deletes empty folders from any directory:for /f "delims=" %i in 'dir /s /b /ad ^ sort /r' do... Discussion in 'Windows 10 Software and Apps' started by Piotr Łojko, Apr 22, 2022.

  1. Is it safe to delete all empty folders from C:\ ?


    Hello,I've found a short line of CMD code that finds and deletes empty folders from any directory:for /f "delims=" %i in 'dir /s /b /ad ^ sort /r' do rd "%i" 2>NUL I would like to run it in C: \, but I'm concerned it might damage the entire filesystem and make my PC unusable. Am I right, or is it perfectly safe to delete all empty folders from my OS drive?

    :)
     
    Piotr Łojko, Apr 22, 2022
    #1
  2. Anusha Win User

    C windows installer folder - Delete?

    He can do symbolic link redirection and move the files in it to a different location. *Wink Is it safe to delete all empty folders from C:\ ? ;)
    Better try it out in a virtual of first. Just a suggestion.

    Like:
    First move everything in c:\windows\installer to d:\installercache
    Then delete c:\windows\installer folder
    Then type this in command mode as admin
    mklink /d c:\windows\installer d:\installercache

    Removing those installer files is a bad idea. it might prevent you from updating or uninstalling apps.
     
    Anusha, Apr 22, 2022
    #2
  3. Trouble deleting a folder

    Thanks for the suggestion but it says "delete folder failed for E:\....." for each folder I try.

    *Confused Is it safe to delete all empty folders from C:\ ? :confused:

    Will I be forever stuck with these unnecessary folders? *Oh Well Is it safe to delete all empty folders from C:\ ? :eek:hwell:
     
    oli_ramsay, Apr 22, 2022
    #3
  4. Is it safe to delete all empty folders from C:\ ?

    C windows installer folder - Delete?

    So I personally don't have any problems with this folder at the moment but one of my friends is wondering if it's safe to delete everything in that folder since he is trying to free up some space on his hard drive. Thanks!
     
    BondExtreme, Apr 22, 2022
    #4
Thema:

Is it safe to delete all empty folders from C:\ ?

Loading...
  1. Is it safe to delete all empty folders from C:\ ? - Similar Threads - safe delete empty

  2. Is it safe to delete empty folders in OneDrive?

    in Windows 10 Network and Sharing
    Is it safe to delete empty folders in OneDrive?: 2 questions 1. Is it safe to delete empty folders in OneDrive?2. is it safe to delete empty folders in pc storage? https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-delete-empty-folders-in-onedrive/d0a52d54-3369-4e3d-b341-25c16d84320e
  3. Is it safe to delete empty folders in OneDrive?

    in Windows 10 Gaming
    Is it safe to delete empty folders in OneDrive?: 2 questions 1. Is it safe to delete empty folders in OneDrive?2. is it safe to delete empty folders in pc storage? https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-delete-empty-folders-in-onedrive/d0a52d54-3369-4e3d-b341-25c16d84320e
  4. Is it safe to delete empty folders in OneDrive?

    in Windows 10 Software and Apps
    Is it safe to delete empty folders in OneDrive?: 2 questions 1. Is it safe to delete empty folders in OneDrive?2. is it safe to delete empty folders in pc storage? https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-delete-empty-folders-in-onedrive/d0a52d54-3369-4e3d-b341-25c16d84320e
  5. Is it safe to delete all empty folders from C:\ ?

    in Windows 10 Gaming
    Is it safe to delete all empty folders from C:\ ?: Hello,I've found a short line of CMD code that finds and deletes empty folders from any directory:for /f "delims=" %i in 'dir /s /b /ad ^ sort /r' do rd "%i" 2>NUL I would like to run it in C: \, but I'm concerned it might damage the entire filesystem and make my PC unusable....
  6. Is safe to delete the C:\Windows\Panther folder ?

    in Windows 10 Performance & Maintenance
    Is safe to delete the C:\Windows\Panther folder ?: Simple as the title. Is safe to delete the "Panther" folder at C:\Windows directory. Note : i think it is created after a (succesful) repair upgrade. I run Windows 10 Pro x64 ver 20H2 build 19042.685. Thanks.*Smile 170737
  7. Is safe to delete the C:\Windows\Panther folder ?

    in Windows 10 Support
    Is safe to delete the C:\Windows\Panther folder ?: Simple as the title. Is safe to delete the "Panther" folder at C:\Windows directory. Note : i think it is created after a (succesful) repair upgrade. I run Windows 10 Pro x64 ver 20H2 build 19042.685. Thanks.*Smile 170737
  8. Is it safe to delete folders inside C:\DRIVERS

    in Windows 10 Network and Sharing
    Is it safe to delete folders inside C:\DRIVERS: Recently, I updated my apps and found that around 2GB of space is occupied due to this update in C:\DRIVERS folder. All of the folders inside DRIVERS contains setup files install & uninstall. Their names are : AMD_Chipset_APU, ASUS System Control Interface V2,...
  9. is it safe to delete all temp folder files?

    in Windows 10 Ask Insider
    is it safe to delete all temp folder files?: is it safe? because the temp folder has gotten very big now. is it safe to remove all files with cmd? submitted by /u/_TroupeMaster_200- [link] [comments] https://www.reddit.com/r/Windows10/comments/h0gq99/is_it_safe_to_delete_all_temp_folder_files/
  10. How to delete an empty folder from a library?

    in Windows 10 Support
    How to delete an empty folder from a library?: . The attached screenshot shows an empty Downloads folder in a Win XP-type of folder setup. I accidentally moved this empty folder from my C:\Users folder. The folder is empty because my Downloads are actually on the E partition, as you can see from the screenshot. The...