Show / Hide Table of Contents

Class filesystem.more

Miscellaneous rarely used file/directory functions.

public static class filesystem.more

Namespace: Au
Assembly: Au.dll
Inheritance
object
filesystem.more

Methods

Name Description
calculateDirectorySize(string, FEFlags)

Calls filesystem.enumerate and returns the sum of all descendant file sizes. With default flags, it includes sizes of all descendant files, in this directory and all subdirectories except in inaccessible [sub]directories.

comparePaths(string, string, bool, bool)

Compares final paths of two existing files or directories to determine equality or relationship.

comparePaths(ref string, ref string, bool, bool)

Compares final paths of two existing files or directories to determine equality or relationship. Also gets final paths (see filesystem.more.getFinalPath).

createSymbolicLink(string, string, CSLink, bool, bool)

Creates a NTFS symbolic link or junction.

emptyRecycleBin(string, bool)

Empties the Recycle Bin.

getFileId(string, out FileId, bool)

Gets FileId of a file or directory.

getFinalPath(string, out string, bool, FPFormat)

Gets full normalized path of an existing file or directory or symbolic link target.

isSameFile(string, string, bool)

Returns true if two paths are of the same existing file, regardless of path format etc.