NewsArchive
10-21-2008, 01:32 AM
Hi Friedrich
I am building a variable in separate lines so that I can see it all on screen.
here is an example..
Set Variable %MYSQLCMDLINE% to "-q /norebootchk /qn reboot=ReallySuppress"
Set Variable %MYSQLCMDLINE% to " ADDLOCAL=ALL instancename=%INSTANCENAME%" [Append
Value]
However, sb6 is ignoring the leading space in subsequent [Append Value] lines
so I end up with %MYSQLCMDLINE% containing..
-q /norebootchk /qn reboot=ReallySuppressADDLOCAL=ALL instancename=%INSTANCENAME%
( I lose the space between ReallySuppress and ADDLOCAL)
I can work around the issue by re-organising the way I build the string, but is there
a way to insert a hard-space at the beginning of a string?
Perhaps add a [Append NoTruncate] setting?
Thanks
John Griffiths
I am building a variable in separate lines so that I can see it all on screen.
here is an example..
Set Variable %MYSQLCMDLINE% to "-q /norebootchk /qn reboot=ReallySuppress"
Set Variable %MYSQLCMDLINE% to " ADDLOCAL=ALL instancename=%INSTANCENAME%" [Append
Value]
However, sb6 is ignoring the leading space in subsequent [Append Value] lines
so I end up with %MYSQLCMDLINE% containing..
-q /norebootchk /qn reboot=ReallySuppressADDLOCAL=ALL instancename=%INSTANCENAME%
( I lose the space between ReallySuppress and ADDLOCAL)
I can work around the issue by re-organising the way I build the string, but is there
a way to insert a hard-space at the beginning of a string?
Perhaps add a [Append NoTruncate] setting?
Thanks
John Griffiths