Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win10 命令提示字元新功能:Alt+F4 可關閉視窗,登錄可停用此行為

編輯:關於 Windows

Win10 cmd.exe 新增支援 Alt + F4 關閉視窗(舊版僅能點關閉鈕或輸入 exit)。若習慣誤觸想停用,可修改登錄:

  1. 開啟 regedit,定位至 HKEY_CURRENT_USER\Console。
  2. 新增 DWORD (32 位元) 值 AllowAltF4Close,數值設為 0(預設即為 0,若曾改為 1 則改回 0)。
  3. 若想重新啟用,將值改為 1。

cmd 新功能示意

登錄 Console 路徑

建議修改前用軟媒魔方備份登錄,防誤操作無法復原。

Copyright © Windows教程網 All Rights Reserved