Defragment.

Defrag(string, string) Method

Summary

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

Syntax

public static void Defrag(string origPath, string backupPath)

Remarks

Renames the file at the given original path to the given 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.
backupPath string The path to the backup file to be created.

Return Value

Type Description
void