sainiboey
(kabi singh)
1
I am trying to read the pages in from every pdf files in a folder.
But I am getting this error. Any help?
Source: Assign
Message: Could not find file ‘C:\Users\17345\Documents\UiPath\pdfpages\item’.
Exception Type: System.IO.FileNotFoundException
thanks
lakshman
(Ganta lakshman)
2
@sainiboey
Here file extension is missing and because of that you are getting this error.
- Try below expression to get all pdf files from particular folder.
arrPDFFiles = Directory.GetFiles("FolderPath","*.pdf")
- And then use For Each loop to iterate one by one file.
ForEach item in arrPDFFiles
Pass item and perform your actions
system
(system)
Closed
3
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.