Created
June 30, 2014 01:51
-
-
Save joequery/4fefd5f4311b58023f3e to your computer and use it in GitHub Desktop.
Windows 8 batch file to toggle touch screen functionality
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set "touchscreenid=YOUR_TOUCHSCREEN_HARDWARE_ID_HERE" | |
devcon status "%touchscreenid%" | findstr "running" | |
if %errorlevel% == 0 ( | |
devcon disable "%touchscreenid%" | |
) else ( | |
devcon enable "%touchscreenid%" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment