Method OpenFolderInFileExplorer
OpenFolderInFileExplorer(string)
Opens the specified folder in the file explorer of the current operating system.
public static bool OpenFolderInFileExplorer(string path)
Parameters
path
stringThe 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
.