Rename File: Could not find a part of the path

It’s not read-only, and no one has the file open.

Does the user you’re logged in as have full rights to the bot.rpa01 folder? What are the values of conta and valor, do they result in an invalid filename?

@gustavo.souza

Okay, you can use Move File activity and give the FilePath and in To you can use the same folder path but with the rename filename

So that it will move the same file but with renamed file

Hope this may help you

Thanks,
Srini

Yes, I have arrived and have full permission.

Account, value are data taken from an excel.

I use the output data table to store the values ​​and then put them in the rename file

What is the filename it’s trying to rename it to, based on the values of conta, vencimento, and valor?

The file name is: Claro - Conta On Line.pdf

I’m asking what you’re trying to rename it to, not the original filename. What are the values of conta, vencimento, and valor when you get the error?

This new file: 12547123 - 20/07/2023 - 456.0

Your question may have found the error… Can’t rename using “/”

1 Like

Correct. That’s an invalid filename. It thinks “12547123 - 20” and “07” are folders. The error message sure wasn’t very helpful.

2 Likes

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