Find File Location

Custom Activity

Custom Activity, Information Technology, Find File Location
Custom Activity

Updated: May 22nd, 2020

Published: May 22nd, 2020

Downloads: 9

Industry: Information

Community Support

Find File Location

Custom Activity

Summary: 

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.

Details

Producers

Manish Jagtap

Benefits

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

Compatibility tested with UiPath 2020.x.x

Dependencies

Developed with .NET framework 4.6.1
No external dependencies.

Licensing

By clicking download you agree to the following license.