I want to use a Windows path. But any time I save a Windows Path to a usual UiPath variable, it is always replaced by a double quote.
is replaced by
In usual VB.net it is not changed in that way. I also tried to use the replace activity. But after replacing
"\" it always replaces it with double backslashes. I’m confused about that behaviour. Is this anything good for a simply a bug?
By the way. When I use Strings directly without saving to a variable it also works. So let’s say I have a variable with the value:
"C:\\some\\path\\to\\a\\file.txt" and I use it directly in an activity via
"C:\\some\\path\\to\\a\\file.txt".ToString.Replace("\\","\") it works. But in my case I need it directly in the variable.