(Guess what I was exploring over the long weekend ...)
I VBA’d the values and checked them out.
They are path-less file names which, to me, seems particularly useless.
Other examples abound ...
I have successfully accessed (and profitably used) the file shortcuts listed in “C:\Users\Chris\Recent” and then found myself in RegEdit.exe staring at “HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Open Find\Microsoft Office Excel\Settings\Save As\File Name MRU”.Is there any purpose to these registry keys?
-
- PlutoniumLounger
- Posts: 15651
- Joined: 24 Jan 2010, 23:23
- Location: brings.slot.perky
Is there any purpose to these registry keys?
You do not have the required permissions to view the files attached to this post.
He who plants a seed, plants life.
-
- Administrator
- Posts: 78628
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Is there any purpose to these registry keys?
The list in your screenshot shows the file names that will be displayed in the File name dropdown in the File > Save As dialog in Excel. In other words, it is different from the list of recently opened files shown in the File menu.
Best wishes,
Hans
Hans
-
- PlutoniumLounger
- Posts: 15651
- Joined: 24 Jan 2010, 23:23
- Location: brings.slot.perky
Re: Is there any purpose to these registry keys?
Oh.HansV wrote:... will be displayed in the File name dropdown in the File > Save As dialog in Excel....
(Thinks for a few seconds).
So if they are being used, Excel, in this case, is probably prefixing with its known paths.
(It's OK. I'll go explore a bit more this weekend ...)
I was prowling around looking to see what useable data might be lying around in the Systems Registry before getting down to a design phase.
He who plants a seed, plants life.
-
- PlatinumLounger
- Posts: 5420
- Joined: 24 Jan 2010, 08:33
- Location: A cathedral city in England
Re: Is there any purpose to these registry keys?
Even after years and years of investigating the registry, I still would be very wary of acting on any "looking to see what usable data might be lying around in the Systems Registry". It is a complicated animal, and "a little knowledge is a dangerous thing", paraphrasing Microsoft's injunction:ChrisGreaves wrote:I was prowling around looking to see what usable data might be lying around in the Systems Registry before getting down to a design phase.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
John Gray
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
-
- Microsoft MVP
- Posts: 1320
- Joined: 24 May 2013, 15:33
- Location: Warminster, PA
Re: Is there any purpose to these registry keys?
This is a classic case of "a little knowledge is a dangerous thing", but if you know what you can touch without serious consequences vs. what you should avoid at all costs, the registry is a vast resource. In my pre-retirement day job creating installation programs for networking software, I "prowled" and modified the registry daily and never had so much as a hiccup in Windows. OTOH, I would never allow a program like CCleaner to "clean" the registry -- automatons just aren't smart enough to be sure what to delete and what to leave alone.John Gray wrote:Even after years and years of investigating the registry, I still would be very wary of acting on any "looking to see what usable data might be lying around in the Systems Registry". It is a complicated animal, and "a little knowledge is a dangerous thing", paraphrasing Microsoft's injunction:ChrisGreaves wrote:I was prowling around looking to see what usable data might be lying around in the Systems Registry before getting down to a design phase.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
I will say, though, that I've always been astonished that Microsoft would design an operating system with a single point of failure like the registry. Backups -- preferably image backups -- are an absolute necessity.
-
- PlutoniumLounger
- Posts: 15651
- Joined: 24 Jan 2010, 23:23
- Location: brings.slot.perky
Re: Is there any purpose to these registry keys?
Thanks, John, and I appreciate your warning.John Gray wrote:... I still would be very wary of acting on any "looking to see what usable data might be lying around in the Systems Registry".
I'm not thinking of writing to the registry at all.
Indeed for the past 20 years or so all my VBA-applications have stuck with INI files because I want to be able to tell a user "I don't write to the registry; indeed this application has no registry-access programming code"
The current application is a tad different.
It wants to find out - on the user's behalf - what files have been used recently. That's why I'm interested in scouring the registry in read-only mode and accumulating a list of files.
Of course, since MS doesn't do any sort of housework, folders such as C:\Users\Chris\Recent\ and SR keys like "Recent File List", "Recent Files", and "File Name MRU" provide data that has to be vetted to remove the names of files that no longer exist.
Anyway, I'm in read-only mode.
So much so that I borrowed some registry code from the web and spent a bit of time deleting every scrap of code that was not referenced by the read-registry-key procedure.
He who plants a seed, plants life.
-
- PlutoniumLounger
- Posts: 15651
- Joined: 24 Jan 2010, 23:23
- Location: brings.slot.perky
Re: Is there any purpose to these registry keys?
I agree.Jay Freedman wrote:I will say, though, that I've always been astonished that Microsoft would design an operating system with a single point of failure like the registry.
I recall that at the launch of Win95 trumpeted was the claim that "INI files are vulnerable; the system registry concept will keep everything safe".
That has spawned an industry geared to generating mega-bytes of text saying "Be careful of changing the registry".
It always seemed to me that the SR ought to be padlocked away from everyone OR made available to those who want to dabble.
He who plants a seed, plants life.
-
- PlatinumLounger
- Posts: 5420
- Joined: 24 Jan 2010, 08:33
- Location: A cathedral city in England
Re: Is there any purpose to these registry keys?
Not a job for DIR?ChrisGreaves wrote:The current application is a tad different.
It wants to find out - on the user's behalf - what files have been used recently.
John Gray
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
-
- Microsoft MVP
- Posts: 1320
- Joined: 24 May 2013, 15:33
- Location: Warminster, PA
Re: Is there any purpose to these registry keys?
That depends on your definition of "used". DIR will tell you which files (in a particular folder) were modified recently. The MRU lists for Office programs and the like will tell you which files (in any folder) were opened recently, even if they weren't modified then.John Gray wrote:Not a job for DIR?ChrisGreaves wrote:The current application is a tad different.
It wants to find out - on the user's behalf - what files have been used recently.
-
- PlatinumLounger
- Posts: 5420
- Joined: 24 Jan 2010, 08:33
- Location: A cathedral city in England
Re: Is there any purpose to these registry keys?
I bow to your extended requirements!
John Gray
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
-
- PlutoniumLounger
- Posts: 15651
- Joined: 24 Jan 2010, 23:23
- Location: brings.slot.perky
Re: Is there any purpose to these registry keys?
Like what Jay said.John Gray wrote:Not a job for DIR?
I consider that I'd like to have rapid access to, let's say, a reference file such as "Passwords.doc", although I may not modify it for months at a time.
If you think about MSOffice's File menu lists they used to show just 9 files; now, I think, 50, but since Office does a poor job of deleting names of non-existent files from the list, each list can be considered to be considerably shorter, and Reference Documents are soon pushed off the list.
Here by way of comparison, is a real MRU list:-
You do not have the required permissions to view the files attached to this post.
He who plants a seed, plants life.