Bat 文件启动 .net 项目
Bat 文件启动 .net 项目 、启动bat
@echo off REM 声明采用UTF-8编码 chcp 65001 @echo "准备启动" D: @echo "启动 iserver" CD D:\tools\supermap-iserver-11.0.0-windows-x64\bin\ call startup.bat @echo @echo "启动 traefik" CD D:\xa\traefik\ start traefik.exe REM @echo "启动 frpc" REM CD D:\tools\frp_0.44.0_windows_amd64 REM ./frpc.exe -c ./frpc.ini @echo @echo "启动 task服务" CD D:\Platform\TaskService-Test setx Dashboard_Only "true" setx Queues "windows,linux,default" setx ASPNETCORE_ENVIRONMENT "Development" start "" cmd /k "call dotnet Platform.WebAPI.Task.dll cc --urls "http://0.0.0.0:6001" " @echo "启动 data服务" CD D:\Platform\DataService-Test start Platform.WebAPI.Data.exe @echo "启动 publish服务" CD D:\Platform\PublishService-Test start Platform.WebAPI.Publish.exe @echo "启动 aligment服务" CD D:\Platform\3-Aligment start "" cmd /k "call dotnet Alignment.ServiceHttp.dll cc --urls "http://0.0.0.0:7000" " pause
1