I am trying to convert the result of %c:p so that the path looks like C:\\somedir\\somedir2\test.txt.
This is what I was trying
UPDATE. Double escaping of backslashes won't be needed in versions that follow v0.12 (commit that fixes it).
thanks! that worked perfect.