I am trying out few things on windows with emacs. In my case, I need to return the file path with backslash from elisp. But elisp always return the path with slash,etc.
(expand-file-name "text.log" "d:\\ProgramData\\temp")
=> d:/ProgramData/temp/text.log
My requirement:
(expand-file-name "text.log" "d:\\ProgramData\\temp")
=> d:\ProgramData\temp\text.log
It can be done with regexp, but I need more simple way.
Does
convert-standard-filenamein(elisp) Standard File Namesfit your need?