PPRuNe Forums - View Single Post - Defragmenter
Thread: Defragmenter
View Single Post
Old 16th November 2004 | 19:27
  #9 (permalink)  
Mac the Knife

Plastic PPRuNer
25 Anniversary
 
Joined: Sep 2000
Posts: 1,902
Likes: 0
From: Rochechouart, France
Cool

NTFS fragments nearly as much as FAT but it's not such a big deal.

Being lazy I've set up a cronjob (Scheduled Task to you) that defrags each partition once a month. Curious that people don't use cronjobs more - it's a very good way of automating all sorts of housekeeping chores - but then I s'pose few modern Windows users are familiar with even a primitive scripting language like batch files, let alone perl or python.

Defrag: Command Line Parameters and Explanations
Usage: defrag volume [-a] [-f][-v] [-?]

Parameters

volume
The drive letter or a mount point of the volume to be defragmented
-a
Analyze only
-f
Forces defragmentation of the volume regardless of whether it needs to be defragmented or even if free space is low
-v
Verbose output
-?
Display the help text

Note: The volume must have at least 15 percent free space for Defrag to completely and adequately defragment it. Defrag uses this space as a sorting area for file fragments. If a volume has less than 15 percent free space, Defrag only partially defragments it.

"I find the command "cat /dev/null > foo" a lot more spiritual, it's like Death coming for your soul."
Mac the Knife is offline