Skip to content

Instantly share code, notes, and snippets.

@coderblower
Created October 4, 2020 08:24
Show Gist options
  • Save coderblower/ab66794488294a240269894143e5da4c to your computer and use it in GitHub Desktop.
Save coderblower/ab66794488294a240269894143e5da4c to your computer and use it in GitHub Desktop.
*********START CODE************
@ECHO OFF
del /s /f /q %userprofile%\Recent\*.*
del /s /f /q C:\Windows\Prefetch\*.*
del /s /f /q C:\Windows\Temp\*.*
del /s /f /q %USERPROFILE%\appdata\local\temp\*.*
/Below command to Show the folder after deleted files
Explorer %userprofile%\Recent
Explorer C:\Windows\Prefetch
Explorer C:\Windows\Temp
Explorer %USERPROFILE%\appdata\local\temp
*********END CODE************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment