08Dec2009

How To Defragment Mutiple Drives At Once

Their is no option to defragment multiple hard drives at once, You have to create a batch file to do the process.

Open Notepad and Paste below code in it, Save it as defragall.bat and choose option “All Files” and Save it.

Windows Disk Defragmenter
Copyright (c) 2001 Microsoft Corp. and Executive Software International, Inc.
Usage:
defrag [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text
defrag c:-f
defrag d:-f
defrag e:-f
defrag f:-f

Now whenever you open this batch file, it will Analyze and Defragment your drives automatically. By default it will defragment Drive C, D, E and F. If you want to add other drive replace it with your drive letter.

For Example, if your drive letter is H, Then

defrag c:-f WITH defrag H:-f

Thats all. You can now Paste this file on desktop so you will remember to start every time you start your pc.

Random Posts

    Sharing is caring.
    • Subscribe to our feed
    • Share this post on Delicious
    • StumbleUpon this post
    • Share this post on Digg
    • Tweet about this post
    • Share this post on Mixx
    • Share this post on Technorati
    • Share this post on Facebook
    • Share this post on NewsVine
    • Share this post on Reddit
    • Share this post on Google
    • Share this post on LinkedIn

    Discussion

    One response to "How To Defragment Mutiple Drives At Once"

    • David says:

      Defragmentation is really improtant when comes to the issue of computer maintainence. To defragment hard disk, I prefer to use third party defrag softwares as most of them are much faster and effective than the Windows bulid-in defragment. Here is another good article that may offer you more tips on the computer optimization: here

    Leave a Comment