I'm Thakur Shekhar Your technical friend.
After a long time, I am back with a new and very useful Blog for you all.
So, let's start.
Many a time it happens that your pc or laptop gets slow due to the temporary or prefetch file present in your computer system.
and when we go to clean it one by one, it takes very much time.
first to select it one by one then, cleaning it. every time you have to run the prefetch, temp, %(module) temp file separately and separately clean it. and many a time you feel very bored doing that.
so, today I am here with a solution to that problem.
In today's blog, I am going to teach you how you can delete your all temp, prefetch, or % temp at the same time with just a double mouse click.
after that, you have to write some code in that text file.
The Code is:
@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\prefetch
deltree /y c:\windows\history
deltree /y c:\windows\cookies
deltree /y c:\windows\recent
deltree /y c:\windows\spool\printers
cls
After writing the code in the txt file you have to save it as the file with the .bat
extension.
for that, you go to save as option in the File menu and give the file
any name of your choice. Any_name_of_your_choice.bat The .bat is a must over
here otherwise your file will not run.
After saving that you will see that the bat file is created in your computer system.
Now you can see your computer's temporary and
prefetch folder by separately opening it.
for that, you go to run by pressing +r and
from there open the temp, %temp% and prefetch file. as you will see that there will be some
files present in all folders.
Let's clean all of them with just a click.
for
that, you double click on the bat file. as soon as you click on the bat file,
it will open the command prompt and will start clearing all your temp and
prefetch files.
it will take some time depending on your no of files. Let's wait
for some time...
you can also minimize the cmd and do some of your other work.
after a few minutes, you will see that all my files are deleted at once.
so, from
next time clearing your temp and prefetch file is just a click away.
now just go
and make your computer faster by deleting this file.
You can also get a video tutorial on this topic in the Hindi language by clicking the link below:
so, if you found this blog
helpful then please support my channel. Thanks for reading.
0 comments:
Post a Comment