Could also possibly use something like this if you use the NoVarInStrings option.


Debug Off
Break On
Dim $iRC
$iRC=SetOption('Explicit','On')
$iRC=SetOption('NoVarsInStrings','On')

USE E: "\\workstat\c$" /user:"system where account resides" + "\" +"adm-Jack" /password:something
? 'Mapping success: ' + @ERROR + ' '+@SERROR