Show / Hide Table of Contents

Method run.selectInExplorer


Overload

Opens parent folder in File Explorer (folder window) and selects the file.

public static bool selectInExplorer(string path)
Parameters
path  (string)

Full path of a file or directory or other shell object. Supports @"%environmentVariable%\..." (see pathname.expand) and "::..." (see Pidl.ToHexString).

Returns
bool

false if failed, for example if the file does not exist.