diff --git a/reactos/subsys/system/explorer/taskbar/startmenu.cpp b/reactos/subsys/system/explorer/taskbar/startmenu.cpp index fe77f92fad8..972d5842a2b 100644 --- a/reactos/subsys/system/explorer/taskbar/startmenu.cpp +++ b/reactos/subsys/system/explorer/taskbar/startmenu.cpp @@ -1125,6 +1125,9 @@ void StartMenu::ActivateEntry(int id, const ShellEntrySet& entries) shexinfo.lpIDList = &*shell_path; + // add PIDL to the recent file list + SHAddToRecentDocs(SHARD_PIDL, shexinfo.lpIDList); + if (!ShellExecuteEx(&shexinfo)) display_error(hparent, GetLastError());