delete files in directory rather than the whole directory (#56)

This commit is contained in:
Mylloon 2024-10-19 19:58:05 +02:00
parent d30701209f
commit 31f135bba8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -16,8 +16,8 @@ DEL /S /F /Q %LOCALAPPDATA%\Temp\* 2>NUL
RMDIR /S /Q "%TEMP%" 2>NUL RMDIR /S /Q "%TEMP%" 2>NUL
:: Empty the system's temp folder :: Empty the system's temp folder
ECHO Delete files in %WINDIR%\Temp... ECHO Delete files in %WINDIR%\temp...
RMDIR /S /Q "%WINDIR%\Temp" 2>NUL DEL /S /F /Q %WINDIR%\temp\* 2>NUL
:: Empty the Prefetch folder :: Empty the Prefetch folder
ECHO Delete files in %WINDIR%\Prefetch... ECHO Delete files in %WINDIR%\Prefetch...