Windows 10: Delete only folders and not the files in them

Discus and support Delete only folders and not the files in them in Windows 10 Ask Insider to solve the problem; Hi, I have a folder on my drive with many folders inside of it. I want to “empty” all of the sub folders into the main folder and delete the sub... Discussion in 'Windows 10 Ask Insider' started by /u/lemonheadwinston, Oct 26, 2020.

  1. Delete only folders and not the files in them


    Hi, I have a folder on my drive with many folders inside of it. I want to “empty” all of the sub folders into the main folder and delete the sub folders while keeping all files intact.

    Folder->subfolder->files

    Into

    Folder->files

    Is there a way to do this on a large scale or all at once?

    Thanks

    submitted by /u/lemonheadwinston
    [link] [comments]

    :)
     
    /u/lemonheadwinston, Oct 26, 2020
    #1

  2. Trouble deleting a folder

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

    *Confused Delete only folders and not the files in them :confused:

    Will I be forever stuck with these unnecessary folders? *Oh Well Delete only folders and not the files in them :eek:hwell:
     
    oli_ramsay, Oct 26, 2020
    #2
  3. topgundcp Win User
    Unable to delete a folder - Invalid folder name


    Suggestion:
    1. Run chkdsk x: /r to make sure that there's no HD corruption.
      x: is the drive containing the folder you want to delete.
    2. Try to delete the folder again. If still does not work, go to step 3.
    3. Download: Download - Linux Mint and create a bootable USB using: Rufus - Create bootable USB
    4. Boot up with Linux Mint and try to delete the folder again.
      NOTE: Unlike WinPE. Linux does not have any Windows permission imposed to it so it is easier to delete.
     
    topgundcp, Oct 26, 2020
    #3
  4. Delete only folders and not the files in them

    Delete a file folder.

    In such cases it is often possible to use this 3-step process:

    1. Move the folder to C:\
    2. Reboot
    3. Delete the folder
     
    Frederik Long, Oct 26, 2020
    #4
Thema:

Delete only folders and not the files in them

Loading...
  1. Delete only folders and not the files in them - Similar Threads - Delete folders files

  2. .ISO files in a folder of the same name deletes them?

    in Windows 10 Network and Sharing
    .ISO files in a folder of the same name deletes them?: I tried to move a file Spore.iso into a folder called Spore on an exFAT formatted sd card and it threw Error 0x80070570, so i moved the iso to the sd card, where the Spore folder was and it was fine, when i tried to move it from the sd card to the Spore folder, it threw...
  3. .ISO files in a folder of the same name deletes them?

    in Windows 10 Gaming
    .ISO files in a folder of the same name deletes them?: I tried to move a file Spore.iso into a folder called Spore on an exFAT formatted sd card and it threw Error 0x80070570, so i moved the iso to the sd card, where the Spore folder was and it was fine, when i tried to move it from the sd card to the Spore folder, it threw...
  4. .ISO files in a folder of the same name deletes them?

    in Windows 10 Software and Apps
    .ISO files in a folder of the same name deletes them?: I tried to move a file Spore.iso into a folder called Spore on an exFAT formatted sd card and it threw Error 0x80070570, so i moved the iso to the sd card, where the Spore folder was and it was fine, when i tried to move it from the sd card to the Spore folder, it threw...
  5. Deleting Only Files Similar to Another Folder on A Different Folder

    in Windows 10 Gaming
    Deleting Only Files Similar to Another Folder on A Different Folder: I was trying to download an updated version of PowerShell, but extracted the files in a folder I didn't want them in Program Files. I have the original ZIP folder, and now have it extracted to a separate folder this time. Is there a method easier than manually to select only...
  6. Deleting Only Files Similar to Another Folder on A Different Folder

    in Windows 10 Software and Apps
    Deleting Only Files Similar to Another Folder on A Different Folder: I was trying to download an updated version of PowerShell, but extracted the files in a folder I didn't want them in Program Files. I have the original ZIP folder, and now have it extracted to a separate folder this time. Is there a method easier than manually to select only...
  7. What are these tmp folders for: is it ok to delete them?

    in Windows 10 Network and Sharing
    What are these tmp folders for: is it ok to delete them?: I have multiple tw-xxxx-xxxx-xxxxx.tmp folders inC:\Windows\System32\config\systemprofile\AppData\Local folder.They contain 299 files, 6,295 folders with a size of 34.4 MB. Most of the folders are tmp's such as tw-1b18-21dc-dfb5a.tmp. The ones I have checked have 0 bytes This...
  8. Will making a folder Read Only avoid deletion of files?

    in Windows 10 Ask Insider
    Will making a folder Read Only avoid deletion of files?: I am planning to use the duplicate file finder feature of ccleaner to remove duplicate files form my multiple backup HDD. I was thinking of making the primary data folder on my Main HDD as Read only (suign the read only feature of Win10) and then find duplicate files and...
  9. Delete all folders without files with a certain extension in them

    in Windows 10 Ask Insider
    Delete all folders without files with a certain extension in them: Let's say I have a folder with around 200 subfolders in it. In some of those subfolders there are .pdf and .mp3 files, and in some of them .txt, .pdf and .mp3 files. Now let's say I want to delete all subfolders that DON'T CONTAIN .txt files. Is there a quick and clean way to...
  10. What are these folders and can I delete them?

    in Windows 10 Ask Insider
    What are these folders and can I delete them?: [ATTACH] submitted by /u/MisMuNimiOn [link] [comments] https://www.reddit.com/r/Windows10/comments/hed2gh/what_are_these_folders_and_can_i_delete_them/