Defrag Shortcut

  1. Once again, right-click on a blank area of your desktop (somewhere without an icon). A context menu should appear. Choose `New', then `Shortcut'.
  2. A window will pop up asking what command to run for this shortcut. Type "defrag /all /F /noprompt /detailed".
  3. Click Next.
  4. Windows will ask to confirm the name of your shortcut. You can type a new name here or just go with the default of "Defrag".
  5. Click Finish.

The /all switch tells Defrag to defragment all the local fixed disks. The /F tells it to do a full defragmentation. With /noprompt, Defrag will start automatically. The /detailed switch is optional, and just tells Defrag to run in the `Show details' mode.