Created
August 30, 2012 04:16
-
-
Save rubyu/3522270 to your computer and use it in GitHub Desktop.
app_restart.bat
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
@echo off | |
:: app_restart.bat | |
:: %1 path of application | |
tasklist | findstr %~nx1 | |
if errorlevel 0 taskkill /f /im %~nx1 | |
start "" %~f1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment