Menu

Clean temporary files

To make a really cool batch file that can delete your temporary files when once clicked. You can also do this by using various software like CCleaner but if you want to know how they work, simply copy and paste the following code into notepad and then save it as a .bat file.
                                 
Here are the steps:-
1. Open Notepad ( Search it in start menu )
2. Now simply copy and paste the below script into the notepad.

@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%
cls

3. Now just save this file as Clean.bat ( Remember the .bat is really important so do put it)
4. So now just enjoy sharing this file by uploading it to social networks website, now remember to change its name and icon to something more exciting to click.

No comments:

Post a Comment