Find File Location

Bronze Certified

Custom Activity

1 reviews

222

Find File Location

Bronze Certified

Custom Activity

1 reviews

222


Summary

This activity can be used to find the full file path based on the filename

carouselImage0

Overview

This activity performs a recursive search on specified drives/directories or a system-wide search can also be performed.

The activity has two inputs and one output :
  • Inputs :
  1. FileName: Provide the file name that has to be searched. Wildcard characters can also be used. Eg: "test.csv", "*.csv"
  2. SearchDirectories: Provide the drives or the directories where the file has to be searched as an array. If this field is left blank, the file will be searched in all the directories. Eg: {"E:\" , "F:\New Folder"}
  • Output :
1. FileLocations: The full path where the file/files are located as an array.

Benefits


Published: May 22, 2020 | Updated: Dec 18, 2020

Manish Jagtap
RPA Developer

Pune, Maharashtra, India


License

Apache 2.0


Code Language

Visual Basic


Tags


Compatibility

Compatibility tested with UiPath 2020.x.x


Dependencies

Developed with .NET framework 4.6.1 No external dependencies.