Move File: Illegal characters in path

Hi,

I have no idea why uipath tells me that I have illigal characters in path.
“Move File: Illegal characters in path.”

I send the image od message giving me path of file. Under red pen are only numbers.
image

.csv in like in the new line, so I tried :
str_today+“_”+trim(in_QuoteNumber).Replace(“\n”, String.Empty).Replace(“\r”, String.Empty).Replace(“\t”, String.Empty).Replace(Environment.NewLine, String.Empty).Replace(Environment.newLine,“”).replace(VbCrLf,“”)

Any idea how to fix it?

Hi,

If you want to remove any linebrak(CR and LF), the following will work.

yourString.Replace(vbCr,"").Replace(vbLf,"")

Regards,

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