# File Rename Action

The **File Rename Action** node renames an existing file without changing its location.

Only the filename is modified; the file remains in the same directory. The operation is performed on the host system where the stream is executed (client or server).

#### Input Parameters

**File Path**\
Full path to the file that should be renamed, including filename and extension.

**New File Name**\
New filename including extension, but **without** a path.\
The file will remain in the original directory.

<figure><img src="/files/Ir7zg7Qq9KqzPpm0NvF1" alt="" width="352"><figcaption><p>File Rename Action</p></figcaption></figure>

#### Behavior

* Renames a single file
* Does not move the file to another directory
* Requires the source file to exist
* Supports asynchronous execution

#### Typical Use Cases

* standardizing filenames
* preparing files for delivery naming conventions
* renaming rendered outputs
* removing temporary naming prefixes/suffixes
* post-processing workflow organization

#### Important Notes

* The directory cannot be changed with this node (use [File Move Action](/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/file-and-folder-22/file-move-action.md) instead)
* If a file with the new name already exists in the same directory, the node will fail
* The file contents remain unchanged

#### Practical Note

Use this node when only the naming convention must change.\
If you also need to relocate the file, first rename it or combine it with a move operation using the [File Move Action](/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/file-and-folder-22/file-move-action.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/file-and-folder-22/file-rename-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
