@echo off cd WebController if exist C3API.db (del C3API.db) if "%1"=="" ( set tmp="http://localhost:52935" ) else ( set tmp=%1 ) dotnet C3WebController.dll --urls %tmp%