Skip to content

Instantly share code, notes, and snippets.

@joshbode
Created March 4, 2013 22:41
Show Gist options
  • Select an option

  • Save joshbode/5086346 to your computer and use it in GitHub Desktop.

Select an option

Save joshbode/5086346 to your computer and use it in GitHub Desktop.
@echo off
setlocal enabledelayedexpansion
net use G: "\\host\share" /persistent:yes
sc stop themes
sc stop mssql$sqlexpress
:: register fonts as local user
:: http://anoopengineer.googlepages.com/RegisterFont.zip
set FONT_DIR=C:\TEMP\apps\fonts
set FONTS=RegisterFont add
for /f "tokens=*" %%f in ('dir /b "%FONT_DIR%"') do (
set FONTS=!FONTS! "%FONT_DIR%\%%f"
)
%FONTS%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment