You may be able to use:
rmdir "\\?\C:\inetpub\wwwroot\cd.."
As found in this Microsoft fileio page:
the "\\?\" prefix also allows the use of ".." and "." in the path names, which can be useful if you are attempting to perform operations on a file with these otherwise reserved relative path specifiers as part of the fully qualified path.