Files
FMP-fix-script/with-ui/FIX4FMP_ver_1.0.bat
T
jakeadmin 4f34d6094f Upload files to "with-ui"
The original script. Walks user through what is happening with a "UI" (Just a command box with a few echos and some timers). Deletes the contents but not parent folder of the FileMaker localapp data folder.
2026-07-29 22:29:13 +00:00

24 lines
565 B
Batchfile

@echo off
timeout /t 2 /nobreak > nul
echo Running fix...
timeout /t 2 /nobreak > nul
echo ...still working...
timeout /t 2 /nobreak > nul
set "TARGET_DIR=%LOCALAPPDATA%\FileMaker"
if not exist "%TARGET_DIR%" (
echo Contact IT at it@es.tv
echo Mention FMP and Directory not found: %TARGET_DIR%
pause
exit /b
)
echo Cleaning contents of: %TARGET_DIR% ...
del /f /s /q /a "%TARGET_DIR%\*" > nul 2>&1
for /d %%i in ("%TARGET_DIR%\*") do rmdir /s /q "%%i" > nul 2>&1
echo ...DONE.
echo Closing in 5... 4... 3...
timeout /t 5