Created
November 9, 2012 00:13
-
-
Save deizel/4042818 to your computer and use it in GitHub Desktop.
Application launcher
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 | |
:go | |
echo What do you want to close? | |
echo. | |
echo 1. [D]esign | |
echo 2. [W]indows | |
echo 3. [M]usic | |
echo 4. [E]ntertainment | |
echo 5. [G]ames | |
echo. | |
SET /P ANSWER=Choose: | |
if /i {%ANSWER%}=={1} (goto :design) | |
if /i {%ANSWER%}=={2} (goto :windows) | |
if /i {%ANSWER%}=={3} (goto :music) | |
if /i {%ANSWER%}=={4} (goto :entertainment) | |
if /i {%ANSWER%}=={5} (goto :games) | |
if /i {%ANSWER%}=={D} (goto :design) | |
if /i {%ANSWER%}=={W} (goto :windows) | |
if /i {%ANSWER%}=={M} (goto :music) | |
if /i {%ANSWER%}=={E} (goto :entertainment) | |
if /i {%ANSWER%}=={G} (goto :games) | |
goto :go | |
:design | |
taskkill /IM photoshop.exe | |
taskkill /IM zbrush.exe | |
taskkill /IM maya.exe | |
taskkill /IM 3dsmax.exe | |
exit /b 0 | |
:windows | |
echo http://www.nirsoft.net/utils/nircmd.html | |
nircmd.exe win close class "CabinetWClass" | |
exit /b 0 | |
:music | |
taskkill /IM itunes.exe | |
exit /b 0 | |
:entertainment | |
taskkill /IM vlc.exe | |
exit /b 0 | |
:games | |
taskkill /IM steam.exe | |
exit /b 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment