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%"
)