The Defrag tool in Windows 7 offers some additional options compared to that in Windows Vista. Its command line version has some additional switches.
Defrag /? : gives you all the options.

Here are a couple of useful switches:
/H switch : runs the defragger at a higher than normal priority
/M switch : runs the operation on each volume in parallel
So if you open cmd and type in “defrag /C /H /M” it will run defrag on all volumes, at a higher priority, in parallel.
You might also want to check out some of the best free defragmentation software for Windows 7.
If you have liked this post, you might want to check out some more, on topics like CMD, Defrag, Features.