Documentation for the command line tools are here (page 51 has the checkout options):
http://techpubs.borland.com/starteam/2009/en/ST_CmdTools_Help_en.pdf
The -cfgl
switch allows you to specify the configuration label.
Edit with updated syntax
The full syntax to do a checkout to a specified directory based on a configuration label is:
stcmd.exe co -p "<username>:<password>@<starteamServerAndPort>/<project>/<view>/" -rp "<workingDir>" -o -cfgl "<labelName>"
So with the following parameters:
username=test
password=pw
starteamServerAndPort=10.209.30.22:49201
project=MyProject
view=MyView
workingDir=d:\latest
lableName=MyLabel
Our command line call would be:
stcmd.exe co -p "test:[email protected]:49201/MyProject/MyView/" -rp "d:\latest" -o -cfgl "MyLabel"