Move pdf to another folder and print all files in a particular folder

I need some help, as I keep hitting error which is returning me 2 slashes on my filepath. Attached is my xaml file.

Appreciate if someone can help me~

Also, I need some help on how to write the code to print all the files (regardless of file extension) in a particular folder.

DeleteSmallFiles.xaml (10.1 KB)

1 Like

The first one looks like argument with values we have mentioned in it
We can remove those double quotes and replace them with singles quotes
I hope it’s the Input we mention
Then for the final to move all files regardless of the file type use a assign activity and mention like this
arr_files = Directory.GetFiles(“yourfolderpath”)
Where arr_files is a array of string

Then followed by this use a for each loop and pass the above variable as input and change the type argument as string in the property panel
Inside the loop use a MOVE FILE activity and mention the path as item.ToString and in the destination mention the folder path where we want to move

Kindly try this and let know for any queries or clarification

Cheers @HJYOO