📌  相关文章
📜  windows 10 命令提示符在打开后自动关闭 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:29.139000             🧑  作者: Mango

代码示例1
## Finally I got it SOLVED: ##

Run regedit
Go to HKLM\Software\Microsoft\Command Processor\ or HKEY_CURRENT_USER\Software\Microsoft\Command Processor\ or HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\

For some reason there was AUTORUN key with "EXIT" inside.

Remove the AutoRun key and everything should went back to normal.
CMD.exe should start to work again.

##

SOURCE: https://stackoverflow.com/questions/5373137/cmd-exe-closes-immediately-after-calling-win7-64