Create your first automation in just a few minutes.Try Studio Web →
by Cloudwerx Pty Ltd
0
Snippet
<100
Summary
Summary
Attended bot to organize files in a folder into different subfolders based on extension. For unknown file types, option appears to create a new, add in existing or move to Miscellaneous sub-folder.
Overview
Overview
This snippet is designed to group all files into different subfolders based on file extension. The folder path is provided by the user. This workflow accepts the following input arguments:
This workflow can be used to organize any given folder. It comes preloaded with the essential file types and folder structure. The file types defined in the Config file are:
o Compressed - .zip
o Pdf – .pdf
o Excel_WordDoc – .doc, .docx, .csv, .xls, .xlsx
It asks the user to select the folder he/she wants to organize, loops all the files present in the folder, checks the extension of each file and moves it into the respective subfolder. More file types can be pre-defined in the Config file just by adding a row and entering the details ‘File extension’ and ‘Folder Name’. For any file which has an unknown extension, it gives the user the three options below:
This workflow also gives the user the option to move all the personal files to the personal subfolder if the ‘Username’ is filled in the Config file. The bot will check the name of each file and if it has ‘Username’ in it, it will create a sub-folder named “Username” and moves the file into it.
Features
Features
The goal of this snippet is to save time and organize subfolders by moving all the files into specific subfolders. It gives users the ability to add their custom mapping for the folder and subfolder mapping for the required file types, if not already present.
Additional Information
Additional Information
Dependencies
"UiPath.Excel.Activities": "[2.10.4]", "UiPath.Mail.Activities": "[1.10.5]", "UiPath.System.Activities": "[21.4.1]", "UiPath.UIAutomation.Activities": "[21.4.4]"
Code Language
Visual Basic
License & Privacy
MIT
Privacy Terms
Technical
Version
1.0.0Updated
June 22, 2022Works with
Studio: 21.4.4 - 22.10
Certification
Silver Certified
Collections
Support
UiPath Community Support
Resources