Window10 双击bat文件,提示“windows找不到文件xxx.bat”曲鑫 九月 14, 2025以管理员身份运行cmd,然后运行以下命令:setx ComSpec %SystemRoot%\system32\cmd.exe /m 应该直接就生效了。