Detect Escape key with batch file

rdwray

New member
Member
VIP
Local time
6:05 PM
Messages
170
I want to separate the escape key in a batch file from all others. If I use "choice", all keys would have to be listed. "errorlevel" seems to return "0" for every key because "choice" is not used. thanks...
 

My Computer

Computer Manufacturer/Model Number
Dell 17-1750 Laptop
OS
Windows 7 Home Premium 64
CPU
Pentium Duo 2.54
Memory
4GB
Screen Resolution
1920 x 1080
Hard Drives
1 500GB
Mouse
Dell Optical
Internet Speed
768KB

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
AMD Phenom II X2 (dual-core)
Motherboard
GA-MA785GM-US2H
Memory
4G
Graphics Card(s)
integrated ATI HD 4200
Sound Card
integrated
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920x1080
Hard Drives
1 SSD - Samsung 840 - 500 GB - OS and DATA partitions
1 SSD - Intel 320 - 120 GB (used for backups) - Misc/BACKUP
1 SATA HD - WD, 500 GB - BACKUP
PSU
Ultra X4 500W
Case
Ultra X-blaster
Keyboard
Microsoft Digital Media Pro
Mouse
Logitech WIRED!
Internet Speed
15 Mbps FIOS

My Computer

Computer Manufacturer/Model Number
Dell 17-1750 Laptop
OS
Windows 7 Home Premium 64
CPU
Pentium Duo 2.54
Memory
4GB
Screen Resolution
1920 x 1080
Hard Drives
1 500GB
Mouse
Dell Optical
Internet Speed
768KB
Back
Top