I have a folder(1) in desktop has two folders in it, and each folder(2) has multiple folders, and each folder(3)has PDFs with different names,
the question is, how can I count the PDFs(Pages) with certain name(123344.pdf) of folder(3)?
Welcome to our UiPath community.
You mean want to count the number of PDF files page count with the name 123344.pdf under folder (3) ?
If yes then follow below steps.
arrPDFFiles = Directory.GetFiles("Folder3 Path","*123344*.pdf") For Each loop in arrPDFFiles use Get PDF File Page count activity to find pdf file page count
Use the for each file in folder activity, then use the pdf count page to retrieve the number for each pdf in the folder
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.