Table of Contents

Class FileExplorerUtilities

Namespace
Garyon.Functions.Windows
Assembly
Garyon.dll

Provides utility functions regarding the Windows file explorer.

public static class FileExplorerUtilities
Inheritance
FileExplorerUtilities
Inherited Members

Methods

OpenNewDefaultExplorerProcess()

Opens the file explorer at the default directory.

public static Process OpenNewDefaultExplorerProcess()

Returns

Process

SelectFileInExplorer(string)

Opens the file explorer at the directory at which a specified file is contained, while also selecting it.

public static Process SelectFileInExplorer(string path)

Parameters

path string

The path of the file to open in the file explorer.

Returns

Process

StartCustomExplorerAtRoot(string)

Opens the default set file explorer at the directory that is specified.

public static Process StartCustomExplorerAtRoot(string root)

Parameters

root string

The root folder to open the file explorer at.

Returns

Process

Remarks

This method uses the start command to open the file explorer. This is used by some third-party file explorers to open their custom explorer instead of the Windows one, for example File Pilot.

StartExplorerAtRoot(string)

Opens the file explorer at the directory that is specified.

public static Process StartExplorerAtRoot(string root)

Parameters

root string

The root folder to open the file explorer at.

Returns

Process