Connect HomeMarketplaceComponentsSopra Steria - Create Current Day Folder

Sopra Steria - Create Current Day Folder



Updated: October 8th, 2020

Published: March 17th, 2020

Downloads: 7

Industry: cross-industry

Language compatibility: Visual Basic

Community Support

Sopra Steria - Create Current Day Folder



Many projects require to create the current date folder using Year and Month. This snippet will create the folders and overwrite as per user's input

The snippet can be used to create the current date folder using current year and monthand as an option, it overwrites the folder and its contents if it already exists.
The given activity already handles the validations of existence of the folders and creates a new folder if it does not exist. The user is required to input the base location where the folders are to be created and this activity will automatically create the folders. If the folder already exists the user has an option to choose if the folder and its contents need to be overwritten.
Example: Let us assume today's date is January 1st 2020 and the user wants to create the folder at C:\UIPATH, the activity will create the folders in the given manner:
C:\UIPATH\ 2020\Jan\1
1. In_FolderPath: The base location where the user wants to create the folders.
2. in_OverwriteFolder: This is the flag which is used by the user to instruct to overwrite the folders and its contents if the path already exists. If left blank, the activity will assume it to be false.
1. out_FolderCreated: This will give the output i.e. True or False. True in case the action is completed and the folders are created, else False.
2. out_FolderPath: This will return the absolute Path of the created folder.



Creates current date folder within current year and month allowing user to create the folders as per the need with the option to overwrite the folder if required.




UiPath.Excel.Activities: 2.7.2,
UiPath.Mail.Activities: 1.7.2,
UiPath.System.Activities: 19.10.1,
UiPath.UIAutomation.Activities: 19.11.1


By clicking download you agree to the following license.