You can specify a directory or a file as the Target or Source Process path. Using a directory applies the rule to processes in that directory and any of its subdirectories (unless higher-ranked rules apply to processes or subdirectories in it). To identify a Process definition as a directory, you must end it with a backslash (\) or a backslash and asterisk (\*). Without the backslash, the rule attempts to match a file by the name you provided, not a directory.

For example, either of the following correctly identifies a directory in a process definition:

c:\folder1\subfolder2\

c:\folder1\subfolder2\*

However, the following is not recognized as a directory:

c:\folder1\subfolder2

If you use path macros in a process definition, the macro is treated as a directory, even if you don’t follow the it with a backslash. See Using Macros.