You cannot rate your own article.
By: jyotirmoyhere83 | Posted: Apr 22, 2017 | General | 7491 Views (Updated May 02, 2017)

Today in this blog I am sharing an exciting script to delete Temporary,%Temp%, Recent and prefetch folder each time your windows starts.


Please go to the path C:\Users\user name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.


Then write click and create a notepad file, name it as Clean.bat.


Now paste the following DOS script and save clean.bat file and see the magic.


@echo off


del /s /f /q c:\windows\temp*.


rd /s /q c:\windows\temp


md c:\windows\temp


del /s /f /q C:\WINDOWS\Prefetch


del /s /f /q%temp%*.


rd /s /q%temp%


md%temp%


deltree /y c:\windows\tempor~1


deltree /y c:\windows\temp


deltree /y c:\windows\tmp


deltree /y c:\windows\ff*.tmp


deltree /y c:\windows\history


deltree /y c:\windows\cookies


deltree /y c:\windows\recent


deltree /y c:\windows\spool\printers


del c:\WIN386.SWP


cls


Now everytime you restart your windows computer all the unwanted junk files in temp,%temp%, prefetch and recent folder will be deleted. This is very useful to keep your PC running smooth and fast.


Post a Blog