Lesson 8 – File Handling
Intro:Our new client JHK Shipping needs a robot, that can sort files and create a log. What you will learn: Primarily File Handling with For Each, the .net method Directory.Getfiles and the Move File activity Secondarily: Make a variable index counter Variable use best practice Create folders with the Create Folder activity Use of the […]
Intro:
Our new client JHK Shipping needs a robot, that can sort files and create a log.
What you will learn:
- Primarily
- File Handling with For Each, the .net method Directory.Getfiles and the Move File activity
- Secondarily:
- Make a variable index counter
- Variable use best practice
- Create folders with the Create Folder activity
- Use of the .net method String.EndsWith
- Write a log message with information
Client name:
JHK Shipping
Process Name:
Sort Files
Description:
Create a UiPath robot that:
- Create the two folders, “xlsx” and “docx”
- Move the .xlsx- and .docx-files to their respective folders
- Write a log message with a count of how many files, that are moved in total and of each type
Files:
SortFiles.Zip