Monday, May 20, 2013

Windows: Where is the last used directory saved for OpenFileDialog

It is stored in the registry. The exact location depends on the Windows version.

For Windows 7:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32


Ref:
c# - OpenFileDialog default path - Stack Overflow

No comments: