@echo off
color 0e
@echo ==================================
@echo 提醒：请右键本文件，用管理员方式打开。
@echo ==================================
@echo Start Install SafeCampus.Background

cd ..
sc create SafeCampus.Background binPath=%~dp0SafeCampus.Background.exe start= auto 
sc description SafeCampus.Background "SafeCampus后台服务"
Net Start SafeCampus.Background
pause