carlos-montiers / enhancedbatch

Enhances your windows command prompt https://www.enhancedbatch.com
Other
5 stars 1 forks source link

chhit with Enter key #45

Closed carlos-montiers closed 4 years ago

carlos-montiers commented 4 years ago

Using CHHIT when the Enter key is pressed, how is possible determine that the Enter key was pressed ?

carlos-montiers commented 4 years ago

Now I found:

set k=@getch
if "!k!"=="!$CR!" echo enter key was pressed