.
This commit is contained in:
19
SystemChecks/CheckExact.bat
Normal file
19
SystemChecks/CheckExact.bat
Normal file
@ -0,0 +1,19 @@
|
||||
ECHO OFF
|
||||
set path=%PATH%
|
||||
|
||||
set Software="LibreOffice"
|
||||
set SoftwarePath="C:\Program Files\LibreOffice\program\soffice.exe"
|
||||
|
||||
|
||||
echo %1
|
||||
echo %2
|
||||
|
||||
REM Check if LibreOffice is installed
|
||||
if exist %SoftwarePath% (
|
||||
echo "%Software% is installed"
|
||||
) else (
|
||||
echo "%Software% is not installed"
|
||||
)
|
||||
|
||||
exit /b
|
||||
|
||||
Reference in New Issue
Block a user