Microsoft KB Archive/320105

= SS 3.0 - CRS: Cannot Filter a Folder by Using a Command Prompt if the Source Path Contains a Hyphen (-) =

Article ID: 320105

Article Last Modified on 4/3/2002

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q320105



SYMPTOMS
When you try to create a Content Replication System (CRS) project from a command prompt and you add an exclude filter, if either the source or the destination path contains a hyphen (-), the filter may not work as expected.



CAUSE
This behavior is caused by the hyphen in the source path or the destination path (or both). The command-line parsing in CRS for filters does not perform some string manipulation that occurs when the filters are added through the Microsoft Management Console (MMC) snap-in.



WORKAROUND
To work around this behavior, use either of the following methods:  Rename the source or destination folder so that the name does not contain a hyphen (-). -or-

  Use a backslash (\) to escape any quotation mark (&quot;). If you use a backslash + quotation mark sequence (for example, the \ &quot; in &quot;-ExcludeMe\ &quot;), you must replace it with three backslashes and a quotation mark (\\\&quot;). For example, the following does not work as expected: crs addproj MSTest01 C:\Temp\CRS-Test01\Source C:\Temp\CRS-Test01\Target /Filter &quot;-ExcludeMe\ &quot; Instead of using &quot;-ExcludeMe\ &quot; to exclude this folder, you must use &quot;-\&quot;ExcludeMe\\\&quot; &quot; to create a CRS publishing project, as follows: crs addproj MSTest01 C:\Temp\CRS-Test01\Source C:\Temp\CRS-Test01\Target /Filter &quot;-\&quot;ExcludeMe\\\&quot; &quot; 

Keywords: kbprb KB320105

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.