Creating a folder-Moving files to the new folder

Goor morning,

this is my first automation and I need to create a folder.
1- When I am using the create folder activity, the folder is being created inside the project folder, but I want it in my desktop. How can I change that?
2- The bot will download some attachments from a website and rename it. How can I move these files to the new folder?

@NathaliaFawcett,

1 - Give full folder path where you have to create it like this - C:\myFolder
2 - Use Move File Activities - Move File activity to move downloaded file.

Thanks,
Ashok :slight_smile:

Hi Ashok,

where should I add the path for the folder? This is what I have so far
image

And when I try to use the move file, it asks me for a from value but it asks me to pick a file. How can I do like: files that were downloaded today + COUPA (coupa is a name that will be in every file)

Path should be like this - "C:\temp\Coupa Invoice "+Now.ToString(“MMddyyyy”)

Use For Each File in folder activity and inside it use Move File activity.
From path will be your current File and Source would be your newly created Folder+filename

Thanks,
Ashok :slight_smile:

Thank you! Is there a way on the for each file in folder I can add a create on filter? Like I just wanted to move the files that have coupa+were downloaded today

@NathaliaFawcett,

We have the filter property but I would suggest to use If condition inside the for each like this.

image

Thanks,
Ashok :slight_smile:

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