I'm currently on a little project where I have to define several paths that need to be compressed into one single zip-file.

Now the following case: One of those paths is a directory, which should be compressed recursively (including all files and sub-folders it contains). Before I compress, I check several things including permissions.
If the current user, which wants to compress, doesn't have the permission to a file or folder it should be excluded.

Now how can I exclude several files and directories from compressing in recursive mode?

I already tried something like this, but the arguement seems to exist only in cmd.

```
compressor.CustomParameters.Add("-x", "@C:\\Users\\******\\Desktop\\exclude.txt");

```