Created
May 10, 2011 01:31
-
-
Save teramako/963769 to your computer and use it in GitHub Desktop.
ThinkPadのトラックポイントのサービスがたまに動いていない時があり、その場合の対応バッチスクリプト
This file contains hidden or 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
@echo off | |
echo "search tp4serv..." | |
tasklist | find "tp4serv.exe" >nul | |
if ERRORLEVEL 1 goto run | |
echo "shutdown tp4serv..." | |
taskkill /im tp4serv.exe /f >nul | |
if ERRORLEVEL 1 goto end | |
:run | |
echo "restart tp4serv..." | |
start "tp4serv" "C:\Program Files\Lenovo\TrackPoint\tp4serv.exe" | |
:end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment