Sinisterly
[BatcH] Make your PC a little faster by cleaning the history, unused junk files... - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... (/Thread-BatcH-Make-your-PC-a-little-faster-by-cleaning-the-history-unused-junk-files)

Pages: 1 2 3


RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - DeffoN - 05-17-2011

Glad you like it Smile
I am going to post some other codes that i am having on my PC Smile
no reg. problems.


RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - Jacob - 05-25-2011

(04-30-2011, 06:20 PM)DeffoN Wrote: THIS IS NOT A VIRUS OR A HARMFUL OBJECT ! !

HERE IS THE CODE :

Quote:@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
save as .bat

^_^
I use it once a month and it is not causeing any bad things
Admin or mod check if dont belive me !

it is not makeing your pc a lot faster but is deleteing the junk files , history , ....
(It is not my code i just copy-paste(but i wanted to share it))

Code:
del /s /f /q C:\WINDOWS\Prefetch
When making this batch file REMOVE this line!
What this does is deletes the prefetched files on your computer. These are the files that store setting on your computer for all programs so that they can start up without having to go through long endeavoring steps. After deleting your prefectched files you will see error for a few things pop up until you run the program again and get the files. Also windows will start up very slowly compared to normal.


RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - DeffoN - 05-25-2011

:O sorry not my code Sad just sharing with HC


RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - Jacob - 05-25-2011

if you could edit that line out or add my warning it'd be great.

it can cause a lot of trouble with windows, i've experienced this before. Im just looking out for the HC community Smile


RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - DeffoN - 05-25-2011

Thanks for info !
Spoiler:
Updated



RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - Jacob - 05-25-2011

:thumbs:

msg too short.?


RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - securelite - 05-26-2011

Sure..there different tools available for junk cleaning..thanks for the code...


RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - DeffoN - 05-26-2011

I Use CCleaner it is very helpfull for reg. errors and ....


RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - securelite - 05-26-2011

@echo off
del /s /f /q c:\windows\temp\*.*
rd /s /q c:\windows\temp
md c:\windows\temp
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\system32\spool\printers //This is the change here...
del c:\WIN386.SWP
cls

kindly let me know that it's correct or not??? As there is no Spool folder in C:\Windows...


RE: [BatcH] Make your PC a little faster by cleaning the history, unused junk files... - Jacob - 11-01-2011

BUMP. just cuz.
nuf said.