about PIDL path
-
Sunday, November 11, 2012 3:01 PM
I wan't get PIDL path form regedit, such as "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU\txt", my os is win7.
i can get it in VC++,via SHGetPathFromIDList (API), but how to use the script to get PIDL path, thanks!
All Replies
-
Sunday, November 11, 2012 3:21 PMModerator
What kind of script?
Bill
-
Sunday, November 11, 2012 5:20 PM
I wan't get PIDL path form regedit, such as "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU\txt", my os is win7.
i can get it in VC++,via SHGetPathFromIDList (API), but how to use the script to get PIDL path, thanks!
You cannot directly call any API function directly from a script langauge. I suggest revciewing teh doocumentation on the PIDL index and the API. YUo can use C, C++ and VB directly to call thiosxz API. To use C# or VB.Net you have to custom declare the API function.
You should ask your question in the developers forum for the language you are using/intend to use.
I would ask why you need this as nearly all programs that use an MRU provide the calls to get the entries as a list. The API is used for building and managing the MRU from a host program such as Excel or Word.
¯\_(ツ)_/¯
- Marked As Answer by Bill_StewartMicrosoft Community Contributor, Moderator Saturday, November 24, 2012 5:22 PM

