Running batch script with two lscm commands causes finishing script just after finishing first command
I am trying to execute two or more lscm command by storing it as a batch file.
If i try exectue the two commands in separate lines execution for the first command happens successfully and stops for the execution of the second command
it works only when i add "&&" between two commands but i want each command to be in a new line and execute.
Example:
NOT WORKING
lscm create workspace -r https:\\Xyxyxy -u User -p password workspaceName1
lscm create workspace -r https:\\Xyxyxy -u User -p password workspaceName2
WORKING
Example
lscm create workspace -r https:\\Xyxyxy -u User -p password workspaceName1&&lscm create workspace -r https:\\Xyxyxy -u User -p password workspaceName2