Delete folders with subfolders from Command Prompt.This guide will teach you two ways to delete subfolders with Command Prompt and PowerShell on Windows 10. On the other hand, if you are using PowerShell, Remove-Item is the cmdlet that will do the job. If you use Command Prompt, rmdir (remove directory) is the tool you want to use to delete folders recursively. ![]() ![]() The tool you need to use will depend on the command console if you want to delete folders with content inside of them. On Windows 10, when you have to remove a file or folder with a command terminal, the first tool it comes to mind is the del command, but you will quickly find out that it won’t work to delete folders with subfolders recursively because the tool only deals with files. You can delete a folder with subfolders and files using commands, but you need to know the correct tool for the job.
0 Comments
Leave a Reply. |