c:\>defrag
ð It will defrag the current drive.
Another way to defrag any selected derive is given below,
Syntax:
defrag
Ex.
c:\> defrag d:
ð It will defrag a particular drive.