The documentation for the command line tools is given here (p. 51 has scan options):
http://techpubs.borland.com/starteam/2009/en/ST_CmdTools_Help_en.pdf
The -cfgl switch allows -cfgl to specify a configuration label.
Edit using updated syntax
Full syntax for checking in the specified directory based on the configuration label:
stcmd.exe co -p "<username>:<password>@<starteamServerAndPort>/<project>/<view>/" -rp "<workingDir>" -o -cfgl "<labelName>"
So, with the following options:
username=test password=pw starteamServerAndPort=10.209.30.22:49201 project=MyProject view=MyView workingDir=d:\latest lableName=MyLabel
Our command line call:
stcmd.exe co -p "test: pw@10.209.30.22 :49201/MyProject/MyView/" -rp "d:\latest" -o -cfgl "MyLabel"
source share