View Single Post
Old 04-24-2009, 05:45 AM
dalevine dalevine is online now
Registered User
Join Date: 04-23-2009
Posts: 14
Retrieving command line parameters passed to build script

I am converting an existing batch file driven build to Visual Builder. The batch file accesses some command line parameters passed to it like this:

rem ************************************************** *************************
rem process command line args; check if this is a restart.
set _arg=%0
if "%_arg%"=="" goto :EndArgLoop
if /i "%_arg%"=="restart" set ReleaseBuildStep=BuildStart&&goto :ArgLoop
if /i "%_arg:~0,9%"=="startstep" set ReleaseBuildStep=%_arg:~10,30%& goto :ArgLoop

rem ************************************************** *************************

How would I do this, or its equivalent, in Visual Builder?
Reply With Quote