pub fn show_properties(target: impl AsRef<Path>) -> Result<()>Expand description
Opens the Windows Properties sheet for a file or directory.
This is a convenience wrapper around open_with_verb using the properties
shell verb.
§Errors
Returns Error::InvalidInput if target is empty or contains NUL bytes.
Returns Error::PathDoesNotExist if the target path does not exist.
Returns Error::WindowsApi if ShellExecuteW reports failure.
§Examples
win_desktop_utils::show_properties(r"C:\Windows\notepad.exe")?;