Tıklandığında %temp% ve prefetch klasörlerini temizleyen dosya hazırlama

Nasıl yapacağız?

İmzana "PC güvenliği konusunda bilgili" yazıp, basit bir script i sorman abes olmuş.
  • cd /D %temp%
  • for /d %%D in (*) do rd /s /q "%%D"
  • del /f /q *
Komutlarını script olarak kaydet ve shell startup ve taskschd altından ekle.
 
Kod:
@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\*.*

/Devam.

Explorer %userprofile%\Recent

Explorer C:\Windows\Prefetch

Explorer C:\Windows\Temp

Explorer %USERPROFILE%\appdata\local\temp

clear.bat diye kaydedip kullanabilirsin.
 

Technopat Haberler

Yeni konular

Geri
Yukarı