4f34d6094f
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.
24 lines
565 B
Batchfile
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 |