Here's the deal: I'm trying to use msdeploy to upload files. I have a folder in my root called Search that I want it to skip.

So, I wrote a skip directive like this:

-skip:objectName=dirPath,absolutePath="Search"

The good news: it skips the Search folder like I want it to.

The bad news: it also skips any folder with "Search" in the name (example: "Research"), which I don't want it to do. (Also, the "Research" folder being skipped is not off the web root, which raises a concern about controlling what folder locations are skipped.)