Thanks for the reply @Vinutha!
Sounds simple enough. But, is this the vbscript that should be assigned to the variable in the assign activity that precedes the For each loop ? Directory.GetFiles(“whateverfolderpath”, “*.pdf”)
In this For loop, file represents each filepath that is in the list created by GetFiles(). Therefore, you can use that variable as your Value for the In argument. So, it will use the filepath that you are looping through.
Note: it will already be the full filepath, so there’s no need for GetFullpath()
Yeah, it’s an Object because the TypeArgument property on your For Each is set to Object, therefore file is an Object. But, like @Vinutha said you can add .ToString on the end to make the Object into a String. You can also just simply change the TypeArgument of the For Each to a String type.
Thank you both. I believe it works, I have no more errors. Now, I must verify why the read pdf activity doesn’t seem to be able to capture my string of characters in the files…, which is there in some files… Cheers.