NAME
ToDoubleBackslashes — Take string, switch single slashes to double backslashes.
SYNOPSIS
ToDoubleBackslashes StringVariable
DESCRIPTION
Return Value
A path where all the slashes are double backslashes.
Arguments
StringVariableWhat to convert. Can be either a value or @VarName (will upvar and read/write).
More Info
Note this will convert not only forward slashes to double backslashes but it will also convert single backslashes to double backslashes.

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.


For information regarding exceptions / errors, see here.
EXAMPLES
% 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\
SEE ALSO
ToBackslashes, ToForwardSlashes
KEYWORDS
conversion, file, string, transform