运行.bat文件乱码?Win11系统bat输出中文乱码的解决方法
时间:2023-11-20 04:49:47
近期有部分Win11用户在果bat批处理文件中输入中文,导致出现运行.bat文件乱码的情况,对于这种情况我们应该如何解决呢?如果你也有同样的困扰,不妨来看看下面这篇小编带来的详细的解决教程吧,希望对你有所帮助哦。
解决方法:
1、运行bat批处理文件的时候,只要输出中文,就会出现乱码;
2、选中出现问题的bat批处理文件,点击右键,在打开的菜单项中,选择【显示更多选项 - 编辑】;
3、以记事本文件的方式打开bat批处理文件后,点击左上角的【文件】,在打开的下拉项中,选择【另存为】;
4、另存为窗口,编码选择【ANSI】,然后点击【保存】即可;
5、再次运行bat批处理文件,可以看到修改完编码之后,已经不会出现乱码的情况了。
标签:Win11
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
电脑机箱漏电的原因和解决方法
2022-07-28 07:14:57
![](https://img.aspxhome.com/file/2023/6/a325640_0s.jpg)
wps文档中的文本如何改变其显示方向?
2022-11-05 23:26:16
![](https://img.aspxhome.com/file/2023/8/a170398_0s.jpg)
Excel2016表格怎么随意移动图表的位置
2023-08-29 11:57:20
![](https://img.aspxhome.com/file/2023/6/36026_0s.jpg)
Win10日历程序无法打开怎么解决?
2023-07-01 05:53:22
![](https://img.aspxhome.com/file/2023/1/a278440_0s.png)
Win10重装应用商店不见了怎么恢复?Win10重装应用商店恢复的方法
2022-12-05 02:01:20
![](https://img.aspxhome.com/file/2023/26/a223391_0s.png)
word2013如何在字与字之间插空格
2023-12-04 06:08:48
![](https://img.aspxhome.com/file/2023/3/18423_0s.jpg)
Win10 20H2值得更新吗 Win10 20H2要不要更新
2023-12-12 19:36:27
![](https://img.aspxhome.com/file/2023/2/51032_0s.png)
输入法无法切换怎么办?
2023-04-15 20:30:09
![](https://img.aspxhome.com/file/2023/5/a317668_0s.png)
如何在excel2003表格中创建数据透视表的方法
2022-02-03 00:30:19
![](https://img.aspxhome.com/file/2023/7/a140437_0s.jpg)
让Mac程序坞只显示正在运行的应用程序该怎么做?
2022-04-24 13:11:35
![](https://img.aspxhome.com/file/2023/3/a203343_0s.jpeg)
win10CPU高导致更新失败怎么办?
2023-02-22 17:20:39
![](https://img.aspxhome.com/file/2023/4/a307504_0s.jpg)
电脑系统怎么清理流氓软件 删除垃圾软件的操作方法
2023-07-29 20:41:29
![](https://img.aspxhome.com/file/2023/2/a286996_0s.jpg)
Word中几种文本格式的区别
2023-05-01 07:12:19
Win11网卡驱动怎么更新?Win11网卡驱动更新操作方法
2023-08-26 06:23:45
![](https://img.aspxhome.com/file/2023/1/a283763_0s.png)
Win11系统WiFi图标不见了怎么解决?
2022-04-02 08:26:39
![](https://img.aspxhome.com/file/2023/1/a281181_0s.png)
充电宝着火了该怎么灭火?
2023-09-18 05:21:35
![](https://img.aspxhome.com/file/2023/3/a198673_0s.jpg)
电脑桌面上怎么新建文件夹
2022-06-12 14:04:47
![](https://img.aspxhome.com/file/2023/9/a341846_0s.jpg)
剪映如何设置视频的饱和度?剪映设置视频的饱和度的方法
2022-09-12 03:12:38
![](https://img.aspxhome.com/file/2023/6/a323930_0s.png)
Win10玩红警2不能全屏怎么办?Win10玩红警2不能全屏的解决方法
2022-03-21 00:19:20
![](https://img.aspxhome.com/file/2023/7/52157_0s.png)
Excel中查看是否为文本的ISTEXT函数使用基础教程
2023-05-24 12:59:24