To work around this problem, use one of the following methods.
Method 1
Use a backslash (\) to escape
any quotation marks ("). If you use a backslash-and-quotation-mark sequence,
you must replace this sequence with three backslashes and a quotation mark
(\\\").
For example, the following command does not work as expected:
css addproj MSTest01 C:\Temp\CSS-Test01\Source C:\Temp\CSS-Test01\Target /Filter "-ExcludeMe\ "
Instead of using
"-ExcludeMe\ " to exclude this folder, you must use
"-\"ExcludeMe\\\" " to create the CSS publishing project. Therefore, use the following command:
css addproj MSTest01 C:\Temp\CSS-Test01\Source C:\Temp\CSS-Test01\Target /Filter "-\"ExcludeMe\\\" "
Method 2
Rename the source folder or
the destination folder so that the name does not contain a hyphen.