Win10 command prompt new function exposure can achieve Alt+F4 to close the program window

  

In Win10, the Command Prompt program was also updated. A very useful feature has been added to the program, and Win7/Win8.1 and previous Vista and XP have no such feature. Now Alt+F4 can finally close the program window, the old version of the system can only be achieved by manually clicking the "Close" button, or enter the exit command.

Win10 system cmd command prompt how to switch to the old version?

However, users who use the program to execute commands may not be used to this change, because it is likely to be indifferent Just press Alt+F4 to close the window. Anyway, if you really want to turn off this new feature, it's easy. Modification requires the use of the registry, in order to prevent misoperations can not be recovered, it is best to use the clean media Rubik's cube (click to download) to clean up the existing registry files.

The specific steps are as follows:

1. Enter regedit in the Cortana search bar and press Enter to open the Registry Editor

2. NHI_CURRENT_USER\\Console

3, create a new DWORD (32-bit) value, named AllowAltF4Close

4, double-click AllowAltF4Close, enter 0 in the "Value data" (default, no need to modify), click OK

If you want to enable this new feature again, you can change the above value to 1.

Related recommendation:

Win10 command prompt font how to set the size?

Win10 four ways to run CMD command prompt as administrator

Copyright © Windows knowledge All Rights Reserved