Find File Location

Custom Activity

Custom Activity

Updated: October 9th, 2020

Published: May 19th, 2020

Downloads: 22

Industry: Information

Language compatibility: Visual Basic

Community Support

Find File Location

Custom Activity


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

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.



Manish Jagtap


Not sure which subdirectory a certain file is present? Just enter the filename and this activity will give you the full path of the file as the output.
Since the activity searches all the sub-directories of the provided search path, the exact file location can be found out by just providing the drive names.


Compatibility tested with UiPath 2020.x.x


Developed with .NET framework 4.6.1
No external dependencies.


By clicking download you agree to the following license.