How to save file/s to a specific directory?

@caduque But it has a Slash (\) at the end of the Path

It’s correct right? It should have a slash at the end

@caduque No :smile: , What kind of files are you trying to Save ?

An excel file.

So how will I solve this?

@caduque Is HREmergencyRos a Folder or the Excel File?

@caduque If its a Folder You need to append the Excel File name to the ReportSavedPath Variable :sweat_smile:
and you need to get the Output as
G:\RPA\HREmergencyRos\yourExcelFileName

If this is the folder we want to save the file then it’s fine
But the thing is the string is incomplete
Whenever we save a file In a folder we want, we need to include the Filename as well along with the folder path
Only then it will get saved in the path we mention

Here the scenario we need to look on is like whether we know the Filename or not
If we know the Filename mention it along the folderpath as input to TYPE INTO a activity
Or
If you can create your own and Concatenate those two strings together and mention that in type into activity

Cheers @caduque

Yeah that’s what I want to do. So how can I achieve that? Help please :sweat_smile:

@caduque What is your Excel File Name?

I don’t have a specific filename. That’s why I created it to just directly download the file. The issue is the folder where it save that 1 file

Fine
Can you name it any format you want
@caduque

Can’t I just type the path and just hit enter so it would save the file on the path? Like in my workflow I created?

@caduque Try Hard Coding the Filename Like this in Type INTO :
ReportSavedPath+“myExcelFile” and Chek if it works, Do not use Enter Key

Yes just mentioning the path would work
But it should have the file name buddy
Here we have only folder name that’s why not getting saved (if we try even doing this manually it would result the same)

So along with folderpath we need to mention the Filename as well

Cheers @caduque

Still nothing happens. The bot just saves the file from my previously open folder and not on the path I want.

May I know how it was mentioned now
If possible a screen shot pls
@caduque

Can I just send my xaml?

Saving.xaml (10.7 KB)

@caduque Have you tried Hard Coding Somewhat in this way and check :
Capture

Same result. Still saving from the previously open folder

@caduque Now that is a Problem :thinking:, It works most of the time , ok, Can you do the same thing Manually and Check , if it saves into the right Folder ?