@@ -1 +1,2 @@
-javaw -jar -Xms16m -Xmx32m sdk-minitor-1.0-RELEASE.jar 8808 ["基础对象"]
+@echo off
+start sdk-minitor -jar -Xms16m -Xmx32m sdk-minitor-1.0-RELEASE.jar 8808 ["基础对象"]
@@ -1,3 +1,2 @@
-set pid = wmic process where "name like '%javaw%' and commandline like '%[sdk-minitor-1.0-RELEASE]%' " get processid
-echo %pid%
-taskkill -F /pid %pid%
+taskkill /f /im sdk-minitor.exe