Slide 4

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

• Repeat Number Of Times Activity In Uipath

• The "Repeat Number of Times" activity


repeats the set of activities a specified number
of times.
• Multiple Assign Activity In Uipath
• The "Multiple Assign" activity assigns the
value to multiple variables without the use of
multiple "Assign" activities.
File Operations Using UiPath
• Files are used for storing the Data of the users for a Long time
Period.
• files can Store the text, any Images or Pictures, or any data in
any Format.
operations on the Files
• Read Operation : Meant To Read the information which is
Stored into the Files.
• Write Operation : For inserting some new Contents into a File.
• Rename or Change the Name of File.
• Copy the File from one Location to another.
• Sorting or Arrange the Contents of File.
• Move or Cut the File from One Place to Another.
• Delete a File
to create a folder, add Create Folder activity inside
the sequence, and enter the Name of the folder you
want to create.
Creating a New File
To create a new TXT file inside the Cinema folder.
Add Create File activity inside the sequence and
then click on the Create File Activity and enter the
Name of the File (New_File.txt) in the Properties
pane for File and enter the path as in the double
quotes Ex: “Cinema”
Delete File and Folder with UiPath
By using the Delete activity, We can delete
the New_File.txt file.
Activities:
Delete File, Delete Folder,
Copy File with UiPath
• Add Copy File activity inside the sequence and fill
the required fields

• Move File with UiPath


The Move file activity is used to move the File from
one Folder/Directory to another Folder/Directory
Get the list of files in the specified folder.
• System.IO.Directory.GetFiles(“<folder path>”) is
used to get a list of files in a specific folder.
Ex:
Get the list of files in the specified folder and output
the full path, file name only, and file name without
extension to the log.
arrFileFullPath =System.IO.Directory.GetFiles("C:\work\50_system\UiPath\ENG\FileList")
strFile = System.IO.Path.GetFileName(strFilePath)
strFilewithout = System.IO.Path.GetFileNameWithoutExtension(strFilePath)
String Manipulations:
Length, Replace, Substring, Split, IndexOf, Trim,
Remove, Join, ToUpper, ToLower, Insert, Concat,
CompareTo, Contains, IsNullOrEmpty.Ltrim, Rtrim,

You might also like