Running liquibase in .cmd file

I created a cmd file with these 3 commands, but only the first is executed…

liquibase --outputFile=test_snapshot.json snapshot --url=jdbc:postgresql://192.168.2.243:5432/test

liquibase diffChangeLog --url=jdbc:postgresql://192.168.2.243:5432/test1 --referenceUrl=offline:postgresql?snapshot=test_snapshot.json

liquibase --url=jdbc:postgresql://192.168.2.243:5432/test1 update

and other two rows are not executed even if the first command didn’t fail
Why ?

Thanks

Hi @dubhe Thanks for joining our community.

Is this a windows command file or a linux command file?
If it is a windows command file you may need to wrap the lines with call statements.
If this is linux then each of the lines should execute.