Switch -ED - do not add empty folders
This switch indicates that folder records are not to be stored in the created archive. When extracting such archives, WinRAR creates non-empty folders basing on paths of files contained in them. Information about empty folders is lost. All attributes of non-empty folders except a name (access rights, streams, etc.) will be lost as well, so use this switch only if you do not need to preserve such information.
If -ed is used with m command or -df switch, WinRAR will not remove empty folders.