win7系统运行bat批处理文件出现闪退的步骤
时间:2021-09-30 08:51:36 来源:www.cnomit.cn 作者:佚名 浏览次数:

解决步骤:
一、想显示执行了什么?
你先看看那个批处理的使用方法。如果你要看批处理运行状态,右击那个Bat文件,先编辑。就打开了记事本。在末尾加个回车输入Pause保存后打开就不会在执行后自动关闭了。
二、win7下不能运行bat格式的文件:
开始-运行,输入regedit,回车,打开注册表编辑器。
找到:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT
把下面的东西,看起来不怎么顺眼的都删除了。
三、命令提示符已被系统管理员停用
1、单击开始菜单,选择运行,然后输入gpedit.msc并回车;




1、右键点击计算机属性,然后在系统信息中点击左上角的“高级系统设置”;
2、切换到“高级”选项卡,点击下方的“环境变量”;

3、在用户变量下方点击“新建”,输入用户名%path%,以及变量值C:/windows/system32,点击确定;

4、选中系统变量中的path,点击编辑按钮,添加path并保存即可。

5、修改好后再执行bat即可。
关于Windows7系统运行bat批处理文件出现闪退如何解决就跟大家介绍到这边了,遇到这样问题的朋友们可以按照上面的方法步骤来进行解决吧
上面就是关于win7系统运行bat批处理文件出现闪退的解决方法还有不知道怎么解决的小伙伴赶快来学习一下吧!小编会竭尽所能把大家想知道的电脑知识分享开来。