Tips for Entering Folder Name Fragments
You can enter folder name fragments in the Add/Change File and Add/Change Exclude Folder dialog boxes to specify where files that you want to include or exclude from inventories are located.
Cherwell Asset Management takes the folder name fragment you specify and attempts to match it to any folders that contain the fragment string, including any subfolders. You can also use a backslash character to specify that folders should start or end with the specified fragment.
The following examples show how to enter fragments to achieve different results. Note that the way you specify folder name fragments is the same, regardless of whether you are using fragments to include specific files in inventories, or to exclude certain folders from inventories.
- Folder name fragment: String that does not include a backslash (like
Result: All folders that include that string anywhere in the path are specified. If you specify Personal, folders with names like PersonalKathy and DebbiePersonal are also specified.
- Folder name fragment: String that starts with a backslash (like
Result: All folders that start with that string are specified. If you specify \Personal, folders with names like \PersonalKathy (but not \KathyPersonal) are also specified.
- Folder name fragment: String that ends with a backslash (like
Result: All folders that end with that string are specified. If you specify Personal\, folders with names like DebbiePersonal\ (but not PersonalDebbie\) are also specified.
- Folder name fragment: String that starts and ends with backslashes
Result: Specifies only folders that match that string exactly.