StringVariable | What to convert into backslashes only version. Can be either a value or @VarName (will upvar and read/write). |
Note that arguments of the form XxxVariable can take either a normal value or the name of a variable to read/write, prefixed by @. See About Using @ for details.
% ToBackslashes c:/some/path/to/file.txt
c:\some\path\to\file.txt
% set MyString c:/some/path/to/file.txt
c:/some/path/to/file.txt
% ToBackslashes @MyString
c:\some\path\to\file.txt
% puts $MyString
c:\some\path\to\file.txt