Seriously, I get some strange referrers from Google. Who the hell gets the idea to clear that from a batch file? I mean, most programs store that kind of stuff either in the registry or in some ugly binary files. The first option is the easier one, at least on Windows 5.1 onwards, since you could use reg.exe. The other part is trickier except the application doesn't mind a missing file.
As for Word 2007, the most recently use files reside under <text>HKCU\Software\Microsoft\Office\12.0\Word\File MRU</text> so a simple <cmd>reg delete „HKCU\Software\Microsoft\Office\12.0\Word\File MRU“</cmd> will do the trick. Of course, you can still put that into a batch file.
It works, but reminds me a bit of How do I inflate a bicycle tire with a potato?.
Comments
Post new comment