.
This commit is contained in:
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user