Hello,
i have fixed my lesson now with a batch-script.
In ioNinja under "set ioNJ(exec_on_complete)" with "{/any-directory/|/another-any-directory/} {EXEC C:/scripts/compress.bat $args}" start the batch-file "compress.bat" and send the arguments. Subsequent the script will compress the content of "any-directory" to a special directory.
It works fine