Defragment.

Defrag(string) Method

Summary

Renames the file at the given original path to a backup file and then builds a defragmented version of the file in the original place.

Syntax

public static void Defrag(string origPath)

Remarks

Renames the file at the given original path to a backup file and then builds a defragmented version of the file in the original place.

Parameters

Name Type Description
origPath string The path to the file to be defragmented.

Return Value

Type Description
void