Microsoft KB Archive/918851

= An exclude filter may not work as expected when you try to create a CSS project in Commerce Server 2007 =

Article ID: 918851

Article Last Modified on 7/31/2006

-

APPLIES TO


 * Microsoft Commerce Server 2007 Enterprise Edition
 * Microsoft Commerce Server 2007 Developer Edition
 * Microsoft Commerce Server 2007 Standard Edition

-





SYMPTOMS
Consider the following scenario:
 * You try to create a Commerce Server Staging (CSS) project in Microsoft Commerce Server 2007.
 * You add an exclude filter at the command prompt.
 * Either the source path or the destination path contains a hyphen (-).

In this scenario, the exclude filter may not work as expected.



CAUSE
This problem is caused by the hyphen in the source path or in the destination path.

This problem occurs only when you add an exclude filter at the command prompt in Microsoft Commerce Server 2007.



WORKAROUND
To work around this problem, use one of the following methods.

Method 1
Use a backslash (\) to escape any quotation marks (&quot;). If you use a backslash-and-quotation-mark sequence, you must replace this sequence with three backslashes and a quotation mark (\\\&quot;).

For example, the following command does not work as expected:

css addproj MSTest01 C:\Temp\CSS-Test01\Source C:\Temp\CSS-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 the CSS publishing project. Therefore, use the following command:

css addproj MSTest01 C:\Temp\CSS-Test01\Source C:\Temp\CSS-Test01\Target /Filter &quot;-\&quot;ExcludeMe\\\&quot; &quot;

Method 2
Rename the source folder or the destination folder so that the name does not contain a hyphen.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



For more information about this problem, click the following article number to view the article in the Microsoft Knowledge Base:

320105 Cannot filter a folder by using a command prompt if the source path contains a hyphen (-)

Keywords: kbtshoot kbbug kbcode kbprb KB918851

-

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

© Microsoft Corporation. All rights reserved.