Excellent video Mukesh! Thank you for explaining the content in a simple yet detailed way. After watching this video, everyone will get a complete understanding about File and Folder Automation.
@MukeshKala3 жыл бұрын
Thank you For your Comment 😊
@ragunandi3 жыл бұрын
Great explanation Mukesh. Thanks for the session.
@MukeshKala3 жыл бұрын
Thank you 😊
@Ganesh7495 ай бұрын
Thank you for great videos and sharing knowledge. God bless you!!
@MukeshKala5 ай бұрын
Glad it was helpful 😃
@balrajswamy11 ай бұрын
Great tutorial.
@MukeshKala11 ай бұрын
Thank you! Cheers!
@onyedikakanu37772 жыл бұрын
This really helped. Thanks for always sharing
@MukeshKala2 жыл бұрын
Glad it was helpful!
@natashasfoodntravel53892 жыл бұрын
Hi Bro. i am getting this error when trying to delete the folder. RemoteException wrapping System.IO.IOException: The process cannot access the file 'C:\Automation\UIPath' because it is being used by another process. Please help me ASAP
@MukeshKala2 жыл бұрын
C:\Automation\UIPath' because it is being used by another process. This means that there are some files from the folder which are open ... and because the files are open from the Folder ,,, The Automation is not able to delete them
@natashasfoodntravel53892 жыл бұрын
i am getting this error bro. while trying to delete the folder - Delete Folder: The process cannot access the file 'C:\Automation\UIPath' because it is being used by another process.
@MukeshKala2 жыл бұрын
This simply means there are some files from the folder which are open … may be some program or if it’s a shared drive may be by someone else
@hemantdeshmukh8474 Жыл бұрын
what to do in a scenario where we want to move file and wait until its available. ?
@MukeshKala Жыл бұрын
Every file and folder has some properties which we can check to make sure that the file is pasted … it can as simple as the count of files in the folder …
@AnnFajardo Жыл бұрын
Newbie here in UIPath may I know how can I create multiple Folder and check if exist or not exist then create folder needed
@MukeshKala Жыл бұрын
To create the multiple Folder : 1. you can keep all the folder paths in some list/ array 2. then run list for each loop - 3. Take a Activity called - Folder Exist 4. Pass the Folder name , it will give true and False if folder is available or not 5. If not - drag a create folder activity and pass the folder path
@sharibakhtar56552 жыл бұрын
How to find the latest two file from the folder
@MukeshKala2 жыл бұрын
Sort All the files order by Descending Order and Take top 2
@sharibakhtar56552 жыл бұрын
@@MukeshKala String.Join(" ",Directory.GetFiles(str_Folder, "*.xlsx").OrderByDescending(Function(a)New FileInfo(a).CreationTime).Take (2)) this code is right?
@shivnarayanswarnkar291210 ай бұрын
WHAT IS THE ACTIVITY TO OPEN A FOLDER AND TAKE A SCREEN SHOT AND PASTE IT TO MAIL BODY KINDLY ADISE BRO
@MukeshKala10 ай бұрын
Use open application/browser activity to open the folder by robot , if you want to open it manually- use the open folder activity To take screenshots: use take screenshot activity To send mail : send mail / send outlook depending on what mail you want to use - you can refer the email automation playlist kzbin.info/aero/PLEYSwx3duQ2DszZgOhhsX2ikmAD9B9BP3&si=GuMW3KS76LdFUyJO
@ragunandi3 жыл бұрын
Looking for ward to attend the session
@MukeshKala3 жыл бұрын
I am Sure - You will have good Idea of File and Folder Automation at the end of this .
@aishwaryakl65662 жыл бұрын
Hi Mukesh explained amazingly!! I need help in uipath related to delete folders This is the task : Need to create a utility workflow to delete older files and folders: Input is a spreadsheet with 2 columns: FolderLocation and NumberOfDays Robot has to iterate through each of the row in the spreadsheet and delete all the files and folders inside the 'FolderLocation' value which were created before the 'NumberOfDays' value. For example, if "FolderLocation' value is D:\Sample Folder\2022\ and NumberOfDays' is 10, robot should delete all files and folders inside D:\Sample Folder\2022 which are created on or before May 8 (today's date: May 18 - 10= May 8) Can I get an explanation regarding this usecase please 🥺
@MukeshKala2 жыл бұрын
1. Read the Data in the DataTable Say DT - This would have 2 Columns , Col1 with Folder Name and Column 2 will Days. 2. Loop Through the Datatable using a For each. 3. Inside the for each - Get the Current Date in a variable and substract the Column2 Values - Using dt.Now.AddDays(- No of Days). Date - This will give you the Date you require 4. Now Use Directory.getFiles and Read all the Files whose created date is less that the Date from step3 - Store this in array [String]. 5. For each Array - String - USe Delete File Activity
@aishwaryakl65662 жыл бұрын
@@MukeshKala Thankyou so much!!! But can I get vedio explanation on this please