This commit is contained in:
USER
2025-09-02 20:59:33 +01:00
parent e0fc96f9c8
commit 3bebcf5f07
2 changed files with 5 additions and 9 deletions

View File

@ -7,20 +7,15 @@ echo "START: %~n0"
set path=%PATH%
set Software="Wordpad"
set SoftwarePath="C:\Program Files\LibreOffice\program\soffice.exe"
set SoftwarePath="W:\Windows NT"
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"
mkdir "C:\Scripts\Wordpad"
xcopy "W:\" "S:\Scripts\Wordpad" /h /e /y
) else (
echo "%Software% is not installed"

View File

@ -6,6 +6,7 @@ echo "%~n0: Start"
ping -n 7 -i 7 192.8.1.1
call %TMESSAGE% '"STARTED local %check_computername% "'
call C:\Scripts\wBase\bin\fix_wordpad2.bat
if "%check_computername%" EQU "SERVER" (
ping -n 7 -i 7 192.8.1.1