How to Defrag Multiple Drives (Partitions) at once in Windows XP
The Disk Defragment utility in Windows XP does not support to defragment multiple drives at the same time. We can do the same by creating a batch file to defragment multiple of the drives, one after the other. Create a file named defrag.bat (Opened notepad and save as the file with file name .bat as extension) and save it where you like. If you wannna to run it from the command line, you could save it in the C:\Windows directory so that it can be available in the system path. For example, if your hard drive is partitioned in three drives (C:, D:, E:) please add these three lines in the batch file and run the batch file to degrag all the drives at once.
defrag c: -f
defrag d: -f
defrag f: -f
You may run the batch file by double clicking it or run it from the command prompt.
If you enjoyed this post, make sure you subscribe to my RSS feed!
