Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions src/Files.App/Actions/Open/OpenClassicPropertiesAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,15 @@ private unsafe void ExecuteShellCommand(string itemPath)
SHELLEXECUTEINFOW info = default;
info.cbSize = (uint)Marshal.SizeOf(info);
info.nShow = 5; // SW_SHOW
info.fMask = 0x0000000C;
info.fMask = 0x0000000C; // SEE_MASK_INVOKEIDLIST

var verb = "properties";
fixed (char* cVerb = verb)
fixed (char* cVerb = "properties", lpFile = itemPath)
{
info.lpVerb = cVerb;

fixed (char* lpFile = itemPath)
info.lpFile = lpFile;

PInvoke.ShellExecuteEx(ref info);
PInvoke.ShellExecuteEx(ref info);
}
}

private void Context_PropertyChanged(object? sender, PropertyChangedEventArgs e)
Expand Down