@echo off IF "%1"=="" (SET "Server=localhost:8080") ELSE (SET "Server=%1") echo Connecting to %Server%... RSTP_DSLink\bin\Release\netcoreapp3.1\RSTP_DSLink.exe --name RTSP --broker http://%Server%/conn pause