set serviceName=IMCS-CCS set serviceFilePath=D:\git\imcs_ccs_new\ccs\IMCS_CCS\bin\Debug\netcoreapp3.1\IMCS_CCS.exe set serviceDescription=IMCS-CCS 定时任务对象 描述 sc create %serviceName% BinPath=%serviceFilePath% sc config %serviceName% start=auto sc description %serviceName% %serviceDescription% sc start %serviceName% pause