Home Windows Windows networking How to Defragment a Single File and Not the Entire Disk

How to Defragment a Single File and Not the Entire Disk

0
823

Sysinternals provides the Contig utility, which you can use to defragment individual files or folders.


You can download the tool at the following website:

https://docs.microsoft.com/en-us/sysinternals/downloads/contig

To defragment a single file, use this format:

contig [filename]

To analyze the fragmentation status, add the -a switch as in the following example:

X: emp>contig -a en_whatchmacallit.iso

Alternatively, you can use wild cards in addition to the -s switch to search through the path given and any child folders and perform degragmentation on files matching the given file name criteria. The Contig tool is a great utility to keep important files defragmented without having to worry about the entire disk.

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

error: Content is protected !!