Find File Location

Bronze Certified

Custom Activity

1 reviews

416

Find File Location

Bronze Certified

Custom Activity

1 reviews

416


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: 22 May 2020 | Updated: 18 Dec 2020

Manish Jagtap
RPA Developer

License

Apache 2.0


Code Language

Visual Basic


Runtime

.NET Framework


Tags

CG2020
file
File full path
File path
File search
Find file location
Recursive search
search

Compatibility

Compatibility tested with UiPath 2020.x.x


Dependencies

Developed with .NET framework 4.6.1 No external dependencies.


Similar Listings