MarketplaceListingsSnippetFile and Folder Organizer

File and Folder Organizer

by Cloudwerx Pty Ltd

0

5

File and Folder Organizer

by Cloudwerx Pty Ltd

0

Snippet

5

carouselImage0

Summary

Summary


Overview

Overview

This workflow is designed to group all the files into different sub-folders based on file extension. The folder path is provided by the user. This workflow accepts the following 3 as input arguments:
  • in_strOptionByUser (String) - represents the value to decide whether the bot should start or not.
  • in_strUserInputFolderPath (String) - represents the folder path to organize the files.
  • in_strUserInput (String) – represents the selected option (out of 3 options – Create new folder, Add in existing folder, Keep in Miscellaneous), chosen by the user if file type is unknown.
This workflow can be used to organize any given folder. It comes pre-loaded with the essential file types and folder structure. The file types defined in the Config file are:
  • Documents:
o Compressed - .zip
o Pdf – .pdf
o Excel_WordDoc – .doc, .docx, .csv, .xls, .xlsx
  • Photos - .png, .jpg, .bmp, .jpeg
  • Videos - .mp4
  • Music - .mp3
  • Application Setup - .exe, .msi
  • Miscellaneous
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 sub-folder. More file types can be pre-defined in the Config file just by adding a row and entering details ‘File extension’ and ‘Folder Name’. For any file which has an unknown extension, it gives the user the three options below:
  • Create a new folder – Creates new sub-folder with the name entered by the user and moves the file to that sub-folder. It also adds this file-folder mapping into the Config file and moves all the files with this extension to the required sub-folder.
  • Add in existing folder – Gives a drop-down option to the user and moves the file to the chosen subfolder. It also adds this file-folder mapping into the Config file and moves all the files with this extension to the required sub-folder.
  • Keep in miscellaneous – Moves the file to the miscellaneous sub-folder.
This workflow also gives the user the option to move all the personal files to the personal sub-folder 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 workflow is to save time and organize sub-folders by moving all the files into specific sub-folders. It gives users the ability to add their custom mapping for the folder and sub-folder mapping for the required file types, if not already present.

Additional Information

Additional Information

Dependencies


Code Language

Visual Basic

Publisher

Cloudwerx Pty Ltd

Visit Publisher's Page

License & Privacy

MIT

Privacy Terms

Technical

Version

1.0.0

Updated

22 Jun 2022

Certification

Silver Certified

Tags

file
folder
extension

Support

UiPath Community Support

Resources

Similar Listings