Skip to content

Instantly share code, notes, and snippets.

@libraplanet
Created February 16, 2013 07:49
Show Gist options
  • Save libraplanet/4965992 to your computer and use it in GitHub Desktop.
Save libraplanet/4965992 to your computer and use it in GitHub Desktop.
theme
@SETLOCAL
@GOTO :main
:settheme
@CALL "%~dp0..\theme\%1.themepack"
@GOTO :EOF
:main
@echo %1
@IF "%1" == "classic" (
@net stop themes
@CALL :settheme classic
@goto :EOF
)
@IF "%1" == "visual" (
@net start themes
@CALL :settheme visual
@GOTO :EOF
)
@ENDLOCAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment