StringVariable | What to convert. 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.
% ToDoubleBackslashes c:/path/one/
c:\path\one\
% ToDoubleBackslashes c:\path\to\file.txt
c:\path\to\file.txt
% set MyString c:/path/one/
c:/path/one/
% ToDoubleBackslashes @MyString
c:\path\one\
% puts $MyString
c:\path\one\