命令:sc 创建: sc create YourService binpath= "C://***//yourservice.exe" DisplayName= "XYZ" 删除: sc delete YourService