Win7系统执行bat批处理文件显示乱码该如何解决?
时间:2023-03-27 00:05:48
在win7系统中,我们经常会使用Bat批处理文件来执行一些比较多的命令进行一些操作,当然批处理中也会一些中文,不过有时我们打开批处理中的中文变成乱码该怎么解决呢?下面小编就为大家带来解决Win7系统执行bat批处理文件显示乱码的方法
在使用win7系统的时候,我们经常会使用bat批处理文件来执行一些比较多的命令进行操作,可是有win7系统用户在执行bat批处理文件的时候,中文却变成了乱码,这是怎么回事呢?该如何解决呢?下面小编就为大家分享一下Win7系统执行bat批处理文件显示乱码的解决方法。一起去看看吧!
其实原因很简单,是由于bat中的文字使用了UTF-8到导致。
解决方法:
1、右键点击Bat批处理,选择编辑,然后打开,重新另存为 编码选择ANSI 即可。若以别的方式(如UTF-8)编辑了批处理,转换成ANSI格式即可;
2、下面是保存后文件;
3、打开运行后,乱码的问题解决了。
标签:Win7,解决bat,批处理文件,显示乱码
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
怎么计算Excel表格当中空单元格个数?countblank函数的使用方法
2022-10-11 02:52:40
![](https://img.aspxhome.com/file/2023/9/42309_0s.jpg)
WPS2016如何快速调整文字方向
2022-03-09 06:10:38
win10不显示视频缩略图解决方法
2022-02-13 23:14:59
![](https://img.aspxhome.com/file/2023/1/a272198_0s.jpg)
固态硬盘什么牌子好,如何选择?
2022-03-10 07:34:17
![](https://img.aspxhome.com/file/2023/3/a297208_0s.png)
原神B服更新2.1版本提示缺少PCgamesSDK.dll要怎么解决?
2022-11-29 23:37:52
![](https://img.aspxhome.com/file/2023/5/a314023_0s.png)
word 2019的查找功能使用技巧
2022-12-02 17:58:12
![](https://img.aspxhome.com/file/2023/8/35238_0s.jpg)
WPS文字文档如何快速对齐文字?
2022-03-07 12:34:07
![](https://img.aspxhome.com/file/2023/1/a168961_0s.jpg)
win8系统怎么保护个人信息常清理IE浏览记录
2022-04-06 00:41:29
![](https://img.aspxhome.com/file/2023/3/a300891_0s.png)
Win10任务栏要怎么隐藏?Win10任务栏隐藏具体操作方法
2023-05-28 22:52:36
![](https://img.aspxhome.com/file/2023/1/a279838_0s.png)
excel如何高级筛选
2022-08-09 10:29:07
![](https://img.aspxhome.com/file/2023/5/a155805_0s.gif)
Win11系统怎么发送文件夹到别人的邮箱?
2022-06-17 06:32:25
![](https://img.aspxhome.com/file/2023/1/a273290_0s.jpg)
如何在Excel中仅打印“表”或“列表”
2023-06-30 13:46:33
![](https://img.aspxhome.com/file/2023/1/a156461_0s.jpg)
WPS表格中如何设置表格颜色?
2023-10-16 01:37:59
如何删除Win10电脑密码?删除Win10开机密码操作教程
2022-01-31 07:31:47
![](https://img.aspxhome.com/file/2023/1/a278175_0s.png)
微软:Win11大受PC用户欢迎 升级速度是Win10的两倍
2022-03-30 23:56:19
![](https://img.aspxhome.com/file/2023/1/a277310_0s.jpg)
PPT中文本的操作技巧
2023-06-13 22:44:15
![](https://img.aspxhome.com/file/2023/10/a352260_0s.jpg)
win10蓝屏代码kernelsecuritycheckfailure的解决方法
2023-02-05 08:25:23
![](https://img.aspxhome.com/file/2023/1/a272922_0s.jpg)
Win11如何设置桌面分辨率?Win11设置桌面分辨率教程
2022-12-05 14:41:26
![](https://img.aspxhome.com/file/2023/27/a238756_0s.jpg)
WPS小技巧—WPS如何与EndNote关联
2023-11-22 11:07:35
妙笔WonderPen for Mac如何使用云盘?
2022-04-06 21:12:40
![](https://img.aspxhome.com/file/2023/3/a213443_0s.jpeg)