Oh sorry, I found it in the manual:

"txt_for_dir(text,STRING* name)" is the key.


Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D