--- In [email protected], "quantiworks" <quanticwo...@...> wrote: > > "Sheri" wrote: > > > A literal string can contain a backslash; a literal string starts with a > > question mark and is delimited by the character following the question > > mark. Without using a literal string, a backslash escapes a backslash. All > > assuming you use standard configuration which uses backslash as escape char. > > > > So, I imagine either of these would work: > > > > do("sc", ?"\\MACHINENAME config wuauserv start= auto") > > > > or > > > > do("sc", "\\\\MACHINENAME config wuauserv start= auto") > > Thanks for the explanation Sheri, I was doing it wrong. > Instead of using: > > ?"\\ > I was using: > "?\\ > and > "\\\\ > without results, so I know now that the syntax for the 1st one was > not correct. > As for the 2nd, still doesn't work. > > Can you also explain or point me to the right location in the > difference of " " and ' ' ? I didn't found any indication in the > PPST file, as to where we should use ' ' and/or " "
AFAIK, unless you use a non-standard configuration and identify single quote as your escape or expression follows character, single quote has no special meaning in Powerpro. Nonetheless you may still need single or double quotes around some (non-Powerpro) command line arguments if they are needed to execute the same command line in a command window. Regards, Sheri
