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.
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user