I would like to catch escape characters like ctrl+ z ctrl+ + aand so on. When we press this escape combination, the prompt is displayed ^Z ^A, but when I try to use them as a value for a variable, the code does not work.
set /p "input=> "
echo/%input%
The above code shows as output only %input%when I put an escape character, the variable is empty. So, is there a way to catch them? Or is it impossible?
source
share