MarketplaceStudioSnippetGet Valid Files of a Specified Type

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

Get Valid Files of a Specified Type

Get Valid Files of a Specified Type

by Internal Labs

StarStar

1

Snippet

Downloads

140

Summary

Summary

This workflow gets all files which are of a user specified extension type from the current folder or a user-specified folder, with the ability to recursively search folders.

Overview

Overview

This component can verify the existence of files or get all files of a certain extension. It uses the Directory.GetFiles method to get a list of all the files (uses SearchOption.AllDirectories to get files from all subfolders if option is present). Valid and invalid files are added to different collections and are outputted as arrays.

Example use cases:

  • Getting all pictures from a folder and it's subfolders
  • Checking if a list of expected Excel files are present before the start of a process which uses them

NOTE: Installation Guidelines for Snippets can be found here.

Features

Features

This component can be used to check that certain files exist and have the correct extension. Can also be used to get all the files of user-defined extension types

Additional Information

Additional Information

Dependencies

N/A

Code Language

Visual Basic

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

1.0

Updated

February 18, 2020

Works with

Studio: 18.2.3 - 22.10

Certification

Silver Certified

Support

UiPath Community Support

Similar Listings