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

Jerold Schulman

November 11, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

To delete the history of files that you opened in a common dialog box, use the Registry Editor to navigate to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32.

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 sub-key contains a list of files with the that you opened. To delete the history of .txt files only, delete the OpenSaveMRUtxt sub-key.

To delete all the history using a CMD:

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

REGEDIT4

[-HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32LastVisitedMRU]

[-HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRU]

2. Run regedit /s ComDlg.reg



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like