How to write file name with special characters

Dear Forum members,

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

Exception came : illegal characters in the path.

Can anyone help ?

Regards,
Sahil Garg

< and > are illegal characters in file names.

image

1 Like

Hi,

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.