Sorry, my quwstion was not quite correct. I am trying to put file's pathway into the text object. Something like %B=FDLOG.path$; where FDLOG.path$ is "C:\AAA\BBB..." text.addtext (B); In this case only "C" is printed.
The best method to work with path in Origin7 is to use VERBATIM property. text.verbatim = 1; text.text$ = "c:\mypath\";
Verbatim property will ignore all escapes (similar to \v(...) escape) and treat the text as is without any additionals like escape itself. This will ensure that path is ok both when displayed or accessed.