win10-prep

Batch script to tweak Windows 10 to a more usable form
Log | Files | Refs

commit 2b25fc16eb9d8484673873cdd1de6224792b75c9
parent ad41db8d0b88e8771fe363cd342181be17d0b97e
Author: breadcat <peter@minskio.co.uk>
Date:   Sun,  5 Jul 2020 19:27:18 +0100

Another if statement

Quiets error output

Diffstat:
Mwin10-prep.bat | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/win10-prep.bat b/win10-prep.bat @@ -307,7 +307,7 @@ rem add irfanview shortcode reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\irfanview.exe" /v "Path" /t REG_SZ /d "%programfiles%\IrfanView\\" /f reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\irfanview.exe" /ve /t REG_SZ /d "%programfiles%\IrfanView\i_view64.exe" /f rem allow irfanview to edit ini file -icacls "%programfiles%\IrfanView" /grant Everyone:(OI)(CI)F +if exist "%programfiles%\IrfanView" icacls "%programfiles%\IrfanView" /grant Everyone:(OI)(CI)F rem add mumble short code reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\mumble.exe" /v "Path" /t REG_SZ /d "%programfiles(x86)%\Mumble\\" /f reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\mumble.exe" /ve /t REG_SZ /d "%programfiles(x86)%\Mumble\mumble.exe" /f