MarketplaceStudioSnippetGet List of Files

Create your first automation in just a few minutes.Try Studio Web

Get List of Files

Get List of Files

by Akhil Chaganti

StarStarStarStarStarStarStarStarStarStar

0

Snippet

Downloads

142

back button
back button
carouselImage0
next button
next button

Summary

Summary

Obtain the list of file names and the number of files present in the input path

Overview

Overview

The input argument takes the input folder path, ext. and the two output arguments give the count of total files and list of files.

You can just invoke the file and pass the file type as e.g., "*.txt", and folder path. The out arguments give you the list of txt files present in the folder path and the total number of files.

Arguments:

In Type

in_FolderPath - Pass the input path as a string

in_FileType - Type of file or document i.e., "*.xlsx","* .doc","* .pdf" etc.

Out Type

out_FilesCount - Gives the number of files

out_FileNames - Gives the list of files

Please note that the Search pattern must be {"*.xlsx", "*.doc", "*.pdf"} etc. or otherwise the Snippet will keep returning 0.

Features

Features

With the help of this component, the list of files and the number of files can be known. Instead of creating a new workflow or variables all the time, we can just simply invoke the snippet wherever is required. In the Init state, we can invoke this workflow to get the list of files present in the input folder.

Additional Information

Additional Information

Dependencies

No dependencies are required.

Code Language

Visual Basic

Publisher

Akhil Chaganti

Visit publisher's page

License & Privacy

Apache

Privacy Terms

Technical

Version

1.0.0

Updated

February 18, 2020

Works with

Studio: 19.4 - 22.10

Certification

Silver Certified

Support

UiPath Community Support

Similar Listings