How to write file name with special characters

Dear Forum members,

I am writing an text file with name Sahil_Garg_<>_Curr.txt.
But while running bot it is giving error.

Exception came : illegal characters in the path.

Can anyone help ?

Sahil Garg

< and > are illegal characters in file names.


1 Like


Is there any way that i can include < > in file name ?

Unfortunately no, they are illegal in Windows and there’s nothing UiPath can do about that.

Thanx mate for your reply, i have to find other way now :sweat_smile:

1 Like

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