Task: Rename file
Description
This task will rename a specified file. If wanted you can choose to allow file extension change. This could be useful for instance to change Code.txt file to Code.csv. Warning! It is not often recommended to change file extensions, it could result in unexpected behavior.
Variables
Name | Description | Type | Example | Screenshot |
---|---|---|---|---|
The location for the file that will be renamed | The full path of the file you wish to copy. | String | C:\Users\HelloId\Desktop\file.txt | 1 |
The new name of the file | The new name for the file | String | NewName | 2 |
Allow change of the file extension | Specify $true to allow extension change, otherwise $false | Boolean | $false | 3 |