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

Monday, April 12, 2010

The graphical chronicle of Windows 7 Defrag application occasionally offers much carry out over a defragment process. If we are a power user as well as wish some-more complete carry out over thedefragmentation routine in Windows 7, afterwards 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 sense about a different authority switches available which Defrag.exe offers you. You just need to attach 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 name 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 different from a syntax used for defrag in Windows Vista.

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

  • <volume> The expostulate letter or mount point of a volume to defragment (for example, to defragment D: drive, sort d: or if we wish to defrag a mount point, d:\vol\mountpoint)
  • /C Defragment all local volumes upon a computer.
  • /E Defragment all local volumes upon a mechanism except those specified.
  • /A Display a fragmentation analysis inform for a specified volume without defragmenting it.
  • /X Perform free-space consolidation. Free-space converging is utilitarian if we need to cringe a vol! ume, as well as it can reduce fragmentation of future files.
  • /T Track an operation already in swell upon a specified volume.
  • /H Run a operation at normal priority instead of a default low priority. Specify this choice if a mechanism is not differently in use.
  • /M Defragment mixed volumes simultaneously, in parallel. This is primarily utilitarian for computers which can entrance mixed disks simultaneously, such as those using SCSI- or SATA-based disks rsther than 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 make use of 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: