Skip to content

Instantly share code, notes, and snippets.

@corespider

corespider/cmd.bat

Last active Aug 24, 2020
Embed
What would you like to do?
Worker Service in .NET Core
:: Create a Windows Service
sc create WorkerService DisplayName="WorkerServiceDotNetCore" binPath="C:\full\path\to\WorkerServiceDotNetCore.exe"
:: Start a Windows Service
sc start WorkerService
:: Stop a Windows Service
sc stop WorkerService
:: Delete a Windows Service
sc delete WorkerService
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.