- TIBCO BusinessEvents®
- Standard
- File

# File.fileRename()

## Signature

`boolean fileRename (String srcPath, String destPath)`

## Domain

ACTION

## Description

Renames the specified file or directory.

## Parameters

Name | Type | Description
--- | --- | ---
`srcPath` | `String` | The original (/current) file or directory name.
`destPath` | `String` | The target file or directory name.

## Returns

Type | Description
--- | ---
`boolean` | Returns true if the rename is successful; false otherwise.

## Cautions

none