How To Use the Command Line for More Control over Windows Defrag

Tuesday, April 13, 2010

The graphical chronicle of Windows 7 Defrag utility seldom offers most carry out over a defragment process. If we have been a energy user as well as wish more complete carry out over thedefragmentation routine in Windows 7, then Microsoft provides we with a authority line chronicle of a Defrag utility.

The authority line chronicle of Defrag (Defrag.exe) offers a number of options (command line argument or authority switches) for a user to fiddle with all a features as well as carry out it offers. In this article, we will learn about a opposite authority switches accessible which Defrag.exe offers you. You just need to append those switches according to your need.

How to open defrag.exe through authority line?

  • First, click upon a Star Orb (Start Button) as well as sort cmd in a Start Menu Search box.
  • Right-click upon cmd as well as select Run as administrator, to open an towering authority prompt.
  • Now sort Defrag.exe followed by a options according to your need in a following syntax:

Defrag <volume> | /C | /E <volumes> [/A | /X | /T] [/H] [/M] [/U] [/V]

Note: Defrag syntax used for Windows 7 is opposite from a syntax used for defrag in Windows Vista.

Explanation of all a authority line options accessible for Defrag.exe:

  • <volume> The expostulate letter or mountain indicate of a volume to defragment (for example, to defragment D: drive, sort d: or if we wish to defrag a mountain point, d:\vol\mountpoint)
  • /C Defragment all internal volumes upon a computer.
  • /E Defragment all internal volumes upon a computer except those specified.
  • /A Display a fragmentation analysis inform for a specified volume but defragmenting it.
  • /X Perform free-space consolidation. Free-space consolidation is utilitarian if we need to shrink a vo! lume, as well as it can revoke fragmentation of future files.
  • /T Track an operation already in swell upon a specified volume.
  • /H Run a operation during normal priority instead of a default low priority. Specify this choice if a computer is not differently in use.
  • /M Defragment mixed volumes simultaneously, in parallel. This is essentially utilitarian for computers which can access mixed disks simultaneously, such as those using SCSI- or SATA-based disks rather than disks with an IDE interface.
  • /U Print a swell of a operation upon a screen.
  • /V Verbose mode. Provides additional detail as well as statistics.

Just make use of a switches as described above as well as take carry out over a whole defragmentation routine using defrag in Windows 7.



Source

0 comments: