Converting filepath \ to \\

How anyone will convert a filename that has "" to something that domino understands “\” in LS?

Both command lines below not giving any useful output.

Where y$ = “myfile/name/path/to/dominodb.nsf”

'y$ = Evaluate(|@ReplaceSubstring(“| & y$ & |”; "| & “" & |”; "| & “\” & |)|)

y$ = Evaluate(|@ReplaceSubstring("| & y$ & |"; "\" ; "\\") |)

Subject: converting filepath \ to \

Dim temp As Stringtemp = “myfile/name/path/to/dominodb.nsf”

temp = Replace(temp, “/”, “\”)

MsgBox temp

Subject: RE: converting filepath \ to \

Thank you !! I realised that as soon as I posted the question. My fault. Thanks again for the quick response.