Again Illegal charater in renaming file name

Hello team of forum,
Can some expertise help me in the Illegal characters in the path, where my destination path, RenamedPath= “F:\User\ReNamed”, and in move with renaming it, at first it was working and when I tried after 1 day it was showing this error.


Your help will be highly appreciate.
Thank you

HI @James90

I’m guessing that - F:\User\Renamed - is dynamic? Could you show how you actually put it together and how the properties are set for the move file?

Hi,
Please refer to this link for illegal characters:


The replace suggested in the link could be your solution.

Hi @FrankSchikora


Yes, Folder Name is dynamic

@James90

Can you please change forward slash( / )to backward one( \ ) and try once.

Let us know if this works for you or not.

Hi @singhonkar
No its not woking as I have done F:\User/Renamed

Could you just put a LogMessage in front of the “Move File” and check the path which is written there. Because I can see that the assignment is actually quite a bit longer so I’m not sure I can identify the problem with that screenshot.

@James90

The above path will not work. The entire path should be like below:
“C:\Users\Bob\Documents\UiPath\Files\Excel21032019.xlsx”

Or possibly please put writeline acitivity before that and share the entire path.

Hi @singhonkar
Tried with all also and its still not working.

@James90

Can you please log the entire path in writeline activity and share the same.

Hi @FrankSchikora
The path is “F:\User\ReNamed” + year + month + dd + “.pdf”

@James90,

Here, ReNamed is the folder name ?

Hi @lakshman
Yes ReNamed is the folder name of the destination.

@James90,

Are you moving files to Renamed folder or not ?

If yes then specify like this: “F:\User\ReNamed\” + year + month + dd + “.pdf”

Hi @singhonkar
rebsfe

@James90

Remove the additional spaces you’ve given between year, date and month. It should be like 20192121 or you can give any other delimiter like 2019-21-21. After that, it should work.

Hi @singhonkar
Still not working sir

@James90

Can you share your xaml file. I’ll go through it and get back to you.

test.xaml (19.9 KB)

Hi @singhonkar
Did you get the content of the config file?