James90
(james)
March 21, 2019, 8:08am
1
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:
c#
The replace suggested in the link could be your solution.
James90
(james)
March 21, 2019, 8:24am
4
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.
James90
(james)
March 21, 2019, 8:32am
6
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
James90:
F:\User/Renamed
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.
James90
(james)
March 21, 2019, 9:17am
9
Hi @singhonkar
Tried with all also and its still not working.
singhonkar
(Onkar Singh)
March 21, 2019, 9:18am
10
@James90
Can you please log the entire path in writeline activity and share the same.
James90
(james)
March 21, 2019, 9:19am
11
Hi @FrankSchikora
The path is “F:\User\ReNamed” + year + month + dd + “.pdf”
lakshman
(Ganta lakshman)
March 21, 2019, 9:23am
12
@James90 ,
Here, ReNamed is the folder name ?
James90
(james)
March 21, 2019, 9:41am
13
Hi @lakshman
Yes ReNamed is the folder name of the destination.
lakshman
(Ganta lakshman)
March 21, 2019, 9:41am
14
@James90 ,
Are you moving files to Renamed folder or not ?
If yes then specify like this: “F:\User\ReNamed\” + year + month + dd + “.pdf”
singhonkar
(Onkar Singh)
March 21, 2019, 9:45am
16
@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.
James90
(james)
March 21, 2019, 10:01am
17
Hi @singhonkar
Still not working sir
singhonkar
(Onkar Singh)
March 21, 2019, 10:05am
18
@James90
Can you share your xaml file. I’ll go through it and get back to you.
James90
(james)
March 21, 2019, 10:57am
20
Hi @singhonkar
Did you get the content of the config file?