ECHO OFF set path=%PATH%;c:\daryoubutton;C:\Windows\twain_32\DY50TWAIN @echo off set directoryPath=C:\path\to\your\directory REM Check if the directory exists if exist "%directoryPath%" ( echo Directory %directoryPath% exists. ) else ( echo Directory %directoryPath% does not exist. ) exit /b @echo off setlocal REM Define the path to the LibreOffice installation set libreOfficePath="C:\Program Files\LibreOffice\program\soffice.exe" REM Check if the computer name contains "reception" echo %COMPUTERNAME% | find /I "reception" >nul if errorlevel 1 ( echo This script must be run on a machine with "reception" in its name. exit /b ) REM Check if LibreOffice is installed if exist %libreOfficePath% ( echo LibreOffice is installed. ) else ( echo LibreOffice is not installed. ) endlocal exit /b check exact check examinepro check daryou check kavo check libreoffice