This commit is contained in:
USER
2025-09-02 20:39:27 +01:00
parent 93c82ea229
commit e0fc96f9c8
2 changed files with 31 additions and 0 deletions

View File

@ -28,6 +28,7 @@ if %errorlevel%==0 (
%LOCAL%\SystemChecks\AddPrinters.bat %LOCAL%\SystemChecks\AddPrinters.bat
%LOCAL%\SystemChecks\RegistryUpdates.bat %LOCAL%\SystemChecks\RegistryUpdates.bat
%SECRETS%\l_Shares.bat %SECRETS%\l_Shares.bat
%SECRETS%\l_FixWordPad.bat
) )
echo %COMPUTERNAME% | find /I "server" >nul echo %COMPUTERNAME% | find /I "server" >nul

View File

@ -0,0 +1,30 @@
@echo off
call C:\Scripts\wBase\baseENV.bat
call C:\Scripts\wLocal\localENV.bat
@REM xxxxxxx
echo "START: %~n0"
set path=%PATH%
set Software="Wordpad"
set SoftwarePath="C:\Program Files\LibreOffice\program\soffice.exe"
REM Check if Wordpad is available
if exist %SoftwarePath% (
echo "%Software% is available"
xcopy "W:\WordPad\Windows NT\Accessories" "C:\Program Files\Windows NT\Accessories" /h /e
xcopy "W:\WordPad" "S:\Scripts" /h /e
assoc .rtf=rtffile
ftype rtffile="C:\Scripts\Wordpad\Windows NT\Accessories\WORDPAD.EXE" "%%1"
) else (
echo "%Software% is not installed"
call %TMESSAGE% '"%Software% missing on %check_computername%"'
)
exit /b