Hi @Gemini,
Welcome to the Maxon developers forum and its community, it is great to have you with us!
Getting Started
Before creating your next postings, we would recommend making yourself accustomed with our forum and support procedures. You did not do anything wrong, we point all new users to these rules.
Forum Overview: Provides a broad overview of the fundamental structure and rules of this forum, such as the purpose of the different sub-forums or the fact that we will ban users who engage in hate speech or harassment.
Support Procedures: Provides a more in detail overview of how we provide technical support for APIs here. This topic will tell you how to ask good questions and limits of our technical support.
Forum Features: Provides an overview of the technical features of this forum, such as Markdown markup or file uploads.
It is strongly recommended to read the first two topics carefully, especially the section Support Procedures: Asking Questions.
About your First Question
There's no built-in token for this, so you would need to manually parse the document file path for the necessary information (e.g. using regular expressions) and adjust the render settings correspondingly.
Depending on the desired behavior you'd like to achieve, the implementation can be slightly different.
If you'd like to create custom token, which contains your extracted information, please check the posting from Dunhou (thanks for taking an active role in the community!).
In case you'd like to have a script that asjusts the filepath, please have a look at the render settings example. For the "File" field you'd need to use c4d.RDATA_PATH token.
Cheers,
Ilia