How to move PDF's located under a specific location into the folder that begins with the filename located to another location?

How can I use a if condition to say if the filefolder contains the filename without extension in the name then move file to this folder??
Something to be changed in yellow but don’t know what ?
Can you please help me ?

Everything mentioned in the attached Word.
Thanks in advance for your help

I want to move PDF to a specific folder.docx (115.7 KB)

Hello @mce

You can do as below.

image

image

Sequence.xaml (11.5 KB)

Thanks Rahul this is the solution. However, I was not able to open your sequence. but I try to follow the steps based on your screenshot and now it works.
The only difference I have is that I dont use the (assign Filename=currentitem.split("."c)…
Instead I m using (assign filename=Path.GetFileNameWithoutExtension(currentitem.ToString)).

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.