File Activities

Bronze Certified

Custom Activity

2 reviews

1.7k

File Activities

Bronze Certified

Custom Activity

2 reviews

1.7k


Summary

This package contains a variety of activities that will help you easily manage files

carouselImage0

Overview

The following activities are included in this pack:
Get FileName: used to extract the file name from the full path of the file.
  • Input: the full path of the file
  • Output: filename
Rename File: used to rename the file within a particular folder and provide the output as a Boolean value to confirm if the file was renamed or not.
  • Input
  • FilePath: the full path of the file
  • NewFileName: provide the new filename
  • Output
  • IsRenamed: A Boolean value that returns True if the file was renamed successfully and if not it will return False.
Move Files: used to move the files from source to the destination path. It can be used to move all files or only specific file types to the destination path.
Input:
  • TypeOfFiles: specify the type of file to be moved
  • (e.g. pdf or xlsx or docx)
  • Destination: destination path
Sort Files: Reads all the files from a specified folder, sort them based on several criteria and displayed the results either by descending or ascending order.
This component will read all the files from a specified folder and sort them based on CreationTime, LastAccessTime, LastWriteTime, Size, and Names.
Input:
  • FolderPath: the path of the files to be sorted.
  • SortingOrder: choose to sort the files in descending or ascending order.
  • SortingType: choose to sort the files by CreationTime, LastAccessTime,
  • LastWriteTime, Size or Name.
  • SortedFiles: an array of the sorted files.
HideFile: used to hide a particular file.
Input:
  • FilePath - the path of the file to be hidden.
Output:
  • IsHidden - indicates if the file was hidden or not.
  • Note: The field supports only Boolean variables.
UnhideFile: used to unhide the particular file.
  • Input: FilePath - the path of the file to be unhidden.
  • Output: IsUnhidden - indicates if the file was unhidden or not.
Note: The field supports only Boolean variables.

Benefits


Published: Feb 25, 2020 | Updated: Dec 18, 2020

Lakshman Ganta
RPA Developer

Bangalore, Karnataka, India


License

MIT


Code Language

Visual Basic


Tags


Compatibility

These activities are compatible with previous and current versions of UiPath Studio.


Dependencies

N/A