sc <server> create [service name] [binPath= ] <option1> <option2>...
如:sc create gitea start= auto binPath= "C:\gitea\gitea.exe"
sc <server> create [service name] [binPath= ] <option1> <option2>...
如:sc create gitea start= auto binPath= "C:\gitea\gitea.exe"
转载于:https://www.cnblogs.com/ShaneSun/p/9723705.html