How Do I Delete Empty Folders in Windows 7?
Contents

Can I delete all empty folders on my computer?

Generally speaking, it is safe to delete empty folders, although you would make no real space savings as they occupy 0 bytes. … In case the folders are from uninstalled Program Files folders, you can safely go ahead.

How do I delete empty folders?

To delete an empty directory, use the -d ( –dir ) option and to delete a non-empty directory, and all of its contents use the -r ( –recursive or -R ) option. The -i option tells rm to prompt you to confirm the deletion of each subdirectory and file.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest