How To Optimize System By Disk Defragment?

By:


After long-term use of the computer, its performance will be degraded, because the use of the application will leave a lot of fragment files and temporary disk files or cache files, which will inevitably lead to decline the utilization of disk. To keep the computer running smoothly we need a regular cleaning up of disk defragment, and removal of junk files to optimize system. Today our topic is how to clean up junk files and defrags automation.

The following batch can help us on the system temporary files and useless log or backup files clean up.
del /f /s /q %systemdrive%*.tmp
del /f /s /q %systemdrive%*._mp
del /f /s /q %systemdrive%*.log
del /f /s /q %systemdrive%*.gid
del /f /s /q %systemdrive%*.chk
del /f /s /q %systemdrive%*.old
del /f /s /q %systemdrive%recycled*.*
del /f /s /q %windir%prefetch*.*
rd /s /q %windir%temp & md %windir%temp
del /f /q %userprofile%cookies*.*
del /f /q %userprofile%recent*.*
del /f /s /q %userprofile%Local SettingsTemporary Internet Files*.*
del /f /s /q %userprofile%Local SettingsTemp*.*
del /f /s /q %userprofile%recent*.*

After cleaning up the system we need to call the Defrag command to defragment the disk. To organize the disk on the C drive, for example, we simply execute command of:

C:>defrag c: -v -f > c:defrag.txt

One-f parameter is, if disk space is defragmented. -v argument is the status of the disk after finishing a detailed description of the results. Then I used the> symbol to redirect the results will be compiled into a defrag.txt file to view.

With these two command-line disk cleanup and disk defragment , we can plan to regularly perform the task. For inexperienced users, I recommend take an assistant tool to clean up junk file and defrag disk. For easy way, I suggest users take system optimization tool to complete the disk defragment.


About the Author:
Take anvi smart defender to defrag disk files to recover disk spaces.
For more information, please visit www.anvisoft.com



Article Originally Published On: http://www.articlesnatch.com


|

Loading...
Related....
Videos...

Recent Software Articles

Comments

Still can't find what you are looking for? Search for it!

Loading

Copyright 2005-2011 ArticleSnatch, LLC - All Rights Reserved.
Privacy Policy | Terms of Service.