From 4f34d6094fa73e2376fd5c8ed85149794d0c74a5 Mon Sep 17 00:00:00 2001 From: jakeadmin Date: Wed, 29 Jul 2026 22:29:13 +0000 Subject: [PATCH] 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. --- with-ui/FIX4FMP_ver_1.0.bat | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 with-ui/FIX4FMP_ver_1.0.bat diff --git a/with-ui/FIX4FMP_ver_1.0.bat b/with-ui/FIX4FMP_ver_1.0.bat new file mode 100644 index 0000000..d82619d --- /dev/null +++ b/with-ui/FIX4FMP_ver_1.0.bat @@ -0,0 +1,24 @@ +@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 \ No newline at end of file