Rename Folder
Rename Folder action in the Avo Assure is found under the @Generic Element is used to rename the old folder name to the new folder name and store the result in an output variable.
Syntax
Input: <folder_path>; <folder_name_old>; <folder_name_new>
Output <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Usecase/Example

Scenario: Automating renaming of folder
A bank archives monthly reports by initially naming each folder with a placeholder like "Data Folder." At the end of each year, the folder is renamed to include the current year, such as "New Data." Using the Rename Folder action in Avo Assure, you can automate this process, ensuring the folder name accurately reflects the year, making it easier to locate files in the future.
Input
Provide the input values as below:
C:\;Data Folder;New Data
Expected Result
It should rename the folder name from Data folder to New Data.
Output
The Rename Folder action rename the old folder (“Data Folder”) to new folder (“New Data”) exists in the C:\ drive and save its result in the {result} output variable as “True”. This output can be used for display or other purposes.
Last updated
Was this helpful?