I have the requirement as i need to connect to the rtc and automatically checkout the files from the stream to the repository workspace. I am writing the following commands in the bat file.
lscm login -r https://rtc.usaa.com/ccm -u uname -P password -n nickname -c
scm create workspace (workspacename) -r nickname -s (streamname)
lscm load workspace name -r nickname -d directorypath(c:codebase/rtc)
lscm logout -r nickname
while i am executing the above batch file for the first time it is creating the workspace and loading the project into the workspace path. while i am executing the above batch file for the second time again it is creating the duplicate workspace with the same name and getting exception while loading. I want to override the already existing workspace every time while loading but I didn't find a command for that. can you please provide me any other way of doing it or any command that solves my problem