Created
September 14, 2023 20:51
-
-
Save madebycm/13bb34d59df111ce0fc69d44b90a4976 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
echo This script will delete all files in the following directories: | |
echo %LOCALAPPDATA%\Starfield\ | |
echo %LOCALAPPDATA%\AMD\DxCache\ | |
echo Deleting files... | |
if exist "%LOCALAPPDATA%\Starfield\" ( | |
del /s /q "%LOCALAPPDATA%\Starfield\*.*" | |
echo Deleted files in %LOCALAPPDATA%\Starfield\ | |
) else ( | |
echo Directory %LOCALAPPDATA%\Starfield\ does not exist. | |
) | |
if exist "%LOCALAPPDATA%\AMD\DxCache\" ( | |
del /s /q "%LOCALAPPDATA%\AMD\DxCache\*.*" | |
echo Deleted files in %LOCALAPPDATA%\AMD\DxCache\ | |
) else ( | |
echo Directory %LOCALAPPDATA%\AMD\DxCache\ does not exist. | |
) | |
echo Done. | |
endlocal | |
set /p choice="kbyethx" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment