NAME
ToForwardSlashes — Take string, switch single/double backslashes to forward.
SYNOPSIS
ToForwardSlashes StringVariable
DESCRIPTION
Return Value
A string where the single/double backslashes are now forward slashes.
Arguments
StringVariableWhat to convert. Can be either a value or @VarName (will upvar and read/write).
More Info
Note that this command will always convert double backslashes into a single forward slash. In a future version we may provide an option to convert double backslashes to double forward slashes.

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
% ToForwardSlashes c:\path\to\somefile.txt
c:/path/to/somefile.txt
% ToFowardSlashes c:\another\path
c:/another/path
% set MyString c:\path\to\somefile.txt 
c:\path\to\somefile.txt
% ToForwardSlashes @MyString
c:/path/to/somefile.txt
SEE ALSO
ToBackslashes, ToDoubleBackslashes
KEYWORDS
conversion, file, string, transform