JSI Tip 5950. How can I delete the list of files that I opened with a common dialog box?

To delete the history of files that you opened in a common dialog box, use the Registry Editor to navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32.

To delete all the history, delete the LastVisitedMRU and OpenSaveMRU sub-keys.

To delete only the list of folders visited, delete the LastVisitedMRU sub-key.

The OpenSaveMRU\* sub-key contains a list of files, regardless of extension, that you opened.

The OpenSaveMRU\<Extension> sub-key contains a list of files with the <Extension> that you opened. To delete the history of .txt files only, delete the OpenSaveMRU\txt sub-key.

To delete all the history using a CMD:

1. Copy /Paste the following to a ComDlg.reg file:

REGEDIT4

\[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU\]

\[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\]

2. Run regedit /s ComDlg.reg



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish