VIM made an error editing BAT file, prompting “Unable to open and write file”

  question, vim

请输入图片描述

As shown in the figure, 1.cmd clearly has content, but VIM opens the content empty. It seems to be unrecognizable. How can I edit and save directly in VIM?

The configuration of fenc .. etc. is as follows:

set encoding=utf-8
 set langmenu=zh_CN.UTF-8
 language messages zh_CN.UTF-8
 set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
 set termencoding=utf-8
 set fileencoding=utf-8

Version output result:
请输入图片描述

My test is OK, and I suspect it should be related to vimrc configuration. Note whether encoding, fenc, fileencodings and other encoding configurations are correct.

vim