Hi Greg
simple.. two ways as per the Scripting Guide from SB help...
/X pathname - Set default %_SB_INSTALLDIR% installation folder to pathname
/V VARIABLE VALUE - Set %VARIABLE% to VALUE
Then manage with tests of those variables within your script.
HTH
JohnG