Table of Contents

Method OpenFolderInFileExplorer

Namespace
Alternet.Common
Assembly
Alternet.Common.v10.dll

OpenFolderInFileExplorer(string)

Opens the specified folder in the file explorer of the current operating system.

public static bool OpenFolderInFileExplorer(string path)

Parameters

path string

The path to the folder to open.

Returns

bool

true if the folder was successfully opened; otherwise, false.

Remarks

This method supports Windows, Linux, and macOS. On unsupported platforms, it returns false.