From b759041f9684f3a7ac6ae281efe9f42f49fd8543 Mon Sep 17 00:00:00 2001 From: xiaodaozi Date: Tue, 20 May 2025 18:03:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=83=A8=E7=BD=B2=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/win/yinyitong-dll-hang.bat | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/win/yinyitong-dll-hang.bat diff --git a/doc/win/yinyitong-dll-hang.bat b/doc/win/yinyitong-dll-hang.bat new file mode 100644 index 0000000..6831a56 --- /dev/null +++ b/doc/win/yinyitong-dll-hang.bat @@ -0,0 +1,20 @@ +@echo off + +:: 医保程序地址 +set CHSPATH=D:/Project/CHS +:: jar名称 +set NAME=yinyitong-dll-hang +:: 端口号 +set PROT=5946 + +echo 关闭%PROT%端口进程 +for /f "tokens=1-5" %%i in ('netstat -ano^|findstr ":%PROT%"') do taskkill /pid %%m -t -f + +echo 启动%NAME% + +start javaw -jar %~dp0\%NAME%.jar --server.port=%PROT% -Dfile.encoding=UTF-8 -Djava.library.path=%CHSPATH% + +echo 启动完成 + +::exit +pause