@REM File to be deleted
SET FileToDelete=".\data-8.0.4\mongod.lock"
 
@Try to delete the file only if it exists
IF EXIST %FileToDelete% del /F %FileToDelete%
 
@REM If the file wasn't deleted for some reason, stop and error
IF EXIST %FileToDelete% exit 1


echo FikoYT Sistem
.\mongo-8.0.4\bin\mongod.exe --config .\mongo-8.0.4\bin\config-rs.txt
pause
