新建start.bat,输入以下内容即可。

 

@echo off
title myprogress-%date%-%time%-%cd%
chcp 65001
java -Dfile.encoding=utf-8 -jar myprogress.jar

 

说明:

chcp 65001: 修改命令行中的编码为UTF-8,GBK是936
-Dfile.encoding=utf-8:指jvm读取文件的编码

相关文章:

  • 2021-04-21
  • 2021-03-31
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-02-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
  • 2023-02-14
  • 2022-12-23
相关资源
相似解决方案