From 4472d706abb26237be00b9a007161a6e37e5eff1 Mon Sep 17 00:00:00 2001 From: breadcat Date: Wed, 15 Jul 2020 15:48:34 +0100 Subject: Reoganise dism commands, alter casing --- win10-prep.bat | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'win10-prep.bat') diff --git a/win10-prep.bat b/win10-prep.bat index b2bd3db..a7979a3 100644 --- a/win10-prep.bat +++ b/win10-prep.bat @@ -375,10 +375,9 @@ just-install steam just-install teamspeak rem add ahk-assistant if it exists if exist %userprofile%\Vault\src\ahka\ahk-assistant.ahk reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "AHK Assistant" /t REG_SZ /d "%userprofile%\Vault\src\ahka\ahk-assistant.ahk" /f -rem install .net3, generally useful -DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /NoRestart -rem install directplay, useful for old GTA games -dism /Online /enable-feature /FeatureName:"DirectPlay" /All /NoRestart +rem install .net3 and directplay using dism +dism /online /enable-feature /featurename:"NetFx3" /all /norestart /quiet +dism /online /enable-feature /featurename:"DirectPlay" /all /norestart /quiet rem 7zip associations and use windows icon reg add "HKCU\SOFTWARE\Classes\Applications\7zFM.exe\shell\open\command" /ve /t REG_SZ /d "\"%programfiles%\7-Zip\7zFM.exe\" \"%%1\"" /f reg add "HKCR\7z_auto_file\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\system32\zipfldr.dll" /f -- cgit v1.2.3