Method OpenFolderInFileExplorer
OpenFolderInFileExplorer(string)
Opens the specified folder in the file explorer of the current operating system.
public static bool OpenFolderInFileExplorer(string path)
Parameters
pathstringThe path to the folder to open.
Returns
- bool
trueif the folder was successfully opened; otherwise,false.
Remarks
This method supports Windows, Linux, and macOS.
On unsupported platforms, it returns false.