Items aren't added to 'Recent Items' in Win7
Moderators: Hacker, petermad, Stefan2, white
Items aren't added to 'Recent Items' in Win7
When I double-click say a txt or pdf file in a TC file panel, they aren't added to the special Recent Items folder in Widnows. All works ok if I do that in the Windows Explorer.
wisekat,
Well, I assume the Recent folder is an Explorer feature that TC does not touch just like it does not change Explorer's sorting when you change sorting in TC.
Roman
Well, I assume the Recent folder is an Explorer feature that TC does not touch just like it does not change Explorer's sorting when you change sorting in TC.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Hello, wisekat.
Total Commander does not add any items to the "Recent Items" list in any Windows version. This is by design as the programme author explains:
Karl
Total Commander does not add any items to the "Recent Items" list in any Windows version. This is by design as the programme author explains:
ghisler(Author) wrote:Total Commander nimmt z.Zt. keine Einträge in der "Recent"-Liste vor, weil dies meiner Meinung nach eine Liste des Explorers ist, und nur bei diesem etwas bewirken sollte.
Cheers,ghisler(Author) - translated by me wrote:Total Commander does not currently add any entries to the "Recent" list, because in my opinion this is an Explorer list and it should have any effect only inside Explorer.
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
Hi, if I'm not mistaken, that's the way, how it's supposed to be. According to SHAddToRecentDocs, the application that opens a file should add that file to Recent Items. However because many applications are not doing so, Windows Explorer does it on their behalf. (If I've misunderstood something, please correct me.)wisekat wrote:Maybe, it is done under the hood in MS Word itself.
I don't think TC should be fixing other apps so I would leave it as it is.
Windows 10 Pro x64, Windows 11 Pro x64
After reading all your answers (thanks for 'em!!), my opinion is the following.MVV wrote:I think it is possible to create a little launcher that will open files from TC and add them to Explorer's recent list. So internal associations would be useful here to associate some file types (e.g. .txt and .pdf) with such launcher.
TC is in fact a GOOD-GOOD replacement for the Explorer, so it should allow to have all its main features. One of 'em is adding to Recent Items all the items we double-clicked. I'm also a programmer and can say that it is really enough easy to do with one call to the SHAddToRecentDocs WinAPI function. Why not to have it as an option somewhere in TC's Options dialog? It's very easy...
By the way, the Explorer "patches" other apps this way, and this only gives us additional benefits

- ghisler(Author)
- Site Admin
- Posts: 50561
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed it's currently not planned to call SHAddToRecentDocs.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I would definitely not. The application that opens some file should decide on its own, whether it will report that file to Windows or not.wisekat wrote:And I'm sure many users will appreciate it.
A good example is Media Player Classic - HC. It has an option to set, whether you want it to keep a history of played files or not. If I run a video file from TC, the setting works perfectly. However if I open the file from Explorer, Windows ignores that setting and adds that file to Recent Items anyway. And that is simply wrong.
For me it's not a missing feature in TC but a bug in Explorer.
Windows 10 Pro x64, Windows 11 Pro x64
I second that! Imagine you run TC from USB and every file you run would be added to recent - no thank you....umbra wrote:I would definitely not. The application that opens some file should decide on its own, whether it will report that file to Windows or not.wisekat wrote:And I'm sure many users will appreciate it.
Hoecker sie sind raus!
Quick "fix": AHK script
Here is a tiny Autohotkey script that accomplishes this:MVV wrote:I think it is possible to create a little launcher that will open files from TC and add them to Explorer's recent list. So internal associations would be useful here to associate some file types (e.g. .txt and .pdf) with such launcher.
Code: Select all
Target = %1%
EnvGet, APPDATA, APPDATA
LinkFile := APPDATA . "\Microsoft\Windows\Recent" . SubStr(Target, InStr(Target, "", 0, 0)) . ".lnk"
FileCreateShortcut, %1%, %LinkFile%
Run, %1%
Code: Select all
"[PathAndFullNameOfAHKScript]" "%1"
Hello,
I have the issue with Adobe Reader, OpenOffice and Visual Studio.
The Script works fine. It creates a shortcut in the "/recent"-directory every time I open files with TC. But the shortcut never appears in any "recent"-list in start menu.
I think there is also something else to do to show shortcuts in the list.
I also recognized that OpenOffice is creating shortcuts without the .ahk-script. But also, there is no shortcut in the Start Menu list. I think that OpenOffice tries to put a shortcut in the list but there is also this one step missing.
Has anyone an idea what this step is?
Thanks, I was looking for something like this.Hope someone finds this useful
I have the issue with Adobe Reader, OpenOffice and Visual Studio.
The Script works fine. It creates a shortcut in the "/recent"-directory every time I open files with TC. But the shortcut never appears in any "recent"-list in start menu.
I think there is also something else to do to show shortcuts in the list.
I also recognized that OpenOffice is creating shortcuts without the .ahk-script. But also, there is no shortcut in the Start Menu list. I think that OpenOffice tries to put a shortcut in the list but there is also this one step missing.
Has anyone an idea what this step is?
Hey. Maybe use this workaround rather than the native Windows recent items list:
"Create Recent Items Shortcut in Windows 10 Customization Tutorials - https://www.tenforums.com/tutorials/17456-create-recent-items-shortcut-windows-10-a.html" https://www.tenforums.com/tutorials/17456-create-recent-items-shortcut-windows-10-a.html
Also, there are other 'recent' folders in Windows, for example somewhere under Appdata/...?.../Office. Maybe that's what the system is using for your recent list?
The feature has been removed from Windows 10 so I can't try this myself.
Good luck!
"Create Recent Items Shortcut in Windows 10 Customization Tutorials - https://www.tenforums.com/tutorials/17456-create-recent-items-shortcut-windows-10-a.html" https://www.tenforums.com/tutorials/17456-create-recent-items-shortcut-windows-10-a.html
Also, there are other 'recent' folders in Windows, for example somewhere under Appdata/...?.../Office. Maybe that's what the system is using for your recent list?
The feature has been removed from Windows 10 so I can't try this myself.
Good luck!