打印服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
307 B

@echo off
echo.
echo 闻荫打印服务启动
echo.
cd %~dp0
echo 【chcp 65001】设置编码格式为UTF-8--
chcp 65001
set JAVA_OPTS=-Xms256m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
D:\openjdk-21.0.1\bin\java %JAVA_OPTS% -Dfile.encoding=UTF-8 -jar win-admin.jar
echo 闻荫打印服务启动完成
cd bin
pause