FileOutput commands and handling

Hello community,
I inserted a File Output Node to a Big Buck Bunny set and wanted to save specific scenes in a folder chosen by me.
I would like to determine the file path via script, and want that the images won’t be overwritten, if I let it run for a second time. I want that the image name increments: image1.png, image2.png, image3.png, etc.

Unfortunately, I haven’t found a matching command with which I can change the subpath and the base path via script. Also the File Output node didn’t save a picture in the desired folder, even if I change the path in the options manually.
Has anyone of you approaches to solving these problems?

The commands that appear in the info box are not useful in scripting:
bpy.data.node_groups [“compositing Nodetree”] nodes [“File Output”] = base_path… “C: \ \ tmp”
bpy.data.node_groups [“compositing Nodetree”]. (null) = “test”

I can’t find any appropriate commands in the blender documentaion.

Regards, Sung

P.S.: Sry for my bad english :confused:

EDIT: In addition, I noticed that the File Output save no picture. In the standard scene, the node works, but in the big buck bunny scene it doesn’t work, even in a minimal example: RenderLayers -> File Output, or even simpler: Color Input -> File Output.
What is the cause? I’m at a loss.