joequery
6/30/2014 - 1:51 AM

Windows 8 batch file to toggle touch screen functionality

Windows 8 batch file to toggle touch screen functionality

set "touchscreenid=YOUR_TOUCHSCREEN_HARDWARE_ID_HERE"
devcon status "%touchscreenid%" | findstr "running"
if %errorlevel% == 0 (
    devcon disable "%touchscreenid%"
) else (
    devcon enable "%touchscreenid%"
)