UiPath | File and Folder Automation | Using Default Activities | Scenarios | RPA

Поделиться
HTML-код
  • Опубликовано: 27 июл 2024
  • ➤ File and #FolderAutomation are required for all kinds of automation we do with #UiPath Studio. There are certainly built-in activities that are available by default to have the automation on Files and Folder.
    In this session, we will see how can we make use of various files and folder activities available for automation. You can use the below timestamp to navigate to a particular activity.
    ➤➤➤ Timestamps
    0:00 - Start
    01:28 - Create Folder in UiPath
    04:24 - Path Exists UiPath
    08:04 - Create File in UiPath
    11:21 - Path Exists Activity for File Check
    14:29 - Write Text File UiPath / Append Line UiPath
    24:08 - Delete File UiPath
    26:42 - Continue on Error UiPath
    27:25 - Delete Folder UiPath
    28:38 - Copy File UiPath
    31:24 - Overwrite Scenario
    33:40 - Move File UiPath
    35:31 - Move File vs Copy File UiPath
    ➤➤➤ Happy Automation !
    ➤➤➤ Social Media Links
    👉 Instagram : / uipathtutorials
    👉 LinkedIn : / mukeshkala
    👉 Twitter : / tweetmukeshkala
    👉 Facebook: / uipathfb
    👉 RUclips : / tutorialsbymukeshkala
    👉 Mail : mailmukeshkala@gmail.com
    #UiPathCommunity #UiPath #RPA

Комментарии • 30

  • @malinivinnamala7085
    @malinivinnamala7085 2 года назад +2

    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.

    • @MukeshKala
      @MukeshKala  2 года назад

      Thank you For your Comment 😊

  • @balrajswamy
    @balrajswamy 5 месяцев назад +1

    Great tutorial.

    • @MukeshKala
      @MukeshKala  5 месяцев назад

      Thank you! Cheers!

  • @ragunandi
    @ragunandi 2 года назад +1

    Great explanation Mukesh. Thanks for the session.

  • @onyedikakanu3777
    @onyedikakanu3777 2 года назад

    This really helped. Thanks for always sharing

  • @hemantdeshmukh8474
    @hemantdeshmukh8474 8 месяцев назад +1

    what to do in a scenario where we want to move file and wait until its available. ?

    • @MukeshKala
      @MukeshKala  8 месяцев назад

      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 …

  • @natashasfoodntravel5389
    @natashasfoodntravel5389 Год назад +1

    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

    • @MukeshKala
      @MukeshKala  Год назад

      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

  • @AnnFajardo
    @AnnFajardo 9 месяцев назад +1

    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
      @MukeshKala  9 месяцев назад

      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

  • @natashasfoodntravel5389
    @natashasfoodntravel5389 Год назад +1

    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.

    • @MukeshKala
      @MukeshKala  Год назад

      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

  • @aishwaryakl6566
    @aishwaryakl6566 2 года назад +1

    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 🥺

    • @MukeshKala
      @MukeshKala  2 года назад +1

      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

    • @aishwaryakl6566
      @aishwaryakl6566 2 года назад +2

      @@MukeshKala Thankyou so much!!!
      But can I get vedio explanation on this please

    • @MukeshKala
      @MukeshKala  2 года назад +1

      @@aishwaryakl6566 will try to upload

    • @aishwaryakl6566
      @aishwaryakl6566 2 года назад

      @@MukeshKala Thank you 🥺
      Means a lot

  • @ragunandi
    @ragunandi 2 года назад +1

    Looking for ward to attend the session

    • @MukeshKala
      @MukeshKala  2 года назад +1

      I am Sure - You will have good Idea of File and Folder Automation at the end of this .

  • @shivnarayanswarnkar2912
    @shivnarayanswarnkar2912 4 месяца назад +1

    WHAT IS THE ACTIVITY TO OPEN A FOLDER AND TAKE A SCREEN SHOT AND PASTE IT TO MAIL BODY
    KINDLY ADISE BRO

    • @MukeshKala
      @MukeshKala  4 месяца назад

      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 ruclips.net/p/PLEYSwx3duQ2DszZgOhhsX2ikmAD9B9BP3&si=GuMW3KS76LdFUyJO

  • @sharibakhtar5655
    @sharibakhtar5655 Год назад +1

    How to find the latest two file from the folder

    • @MukeshKala
      @MukeshKala  Год назад

      Sort All the files order by Descending Order and Take top 2

    • @sharibakhtar5655
      @sharibakhtar5655 Год назад +1

      @@MukeshKala String.Join(" ",Directory.GetFiles(str_Folder, "*.xlsx").OrderByDescending(Function(a)New FileInfo(a).CreationTime).Take (2))
      this code is right?

  • @joswadsouza1445
    @joswadsouza1445 2 года назад +1

    New concepts