Hi,
Regarding the open file dialog, this goes back to the old common dialogs (COMDLG32.DLL) before Vista where in opening a shortcut, one could provide the programmatic option of either opening the link file as is or navigating to the directory to where the resolved file link resides. Does anyone recall this behaviour?
If so, read on: :)
The newer system (v6) provides the option of an Open dialog where OFN_NODEREFERENCELINKS can be switched off. The resolved file name can be retrieved as long as *lnk is not included in the filter. This ends the dialog, so there never is any navigation to the folder where the resolved shortcut lies.
In that scenario, any visible pidls or symbolic links can also be navigated to, but file selection may not be possible.
The newer system works fine for most, the folder navigation is more for geeks who might wish to quickly browse through a folder of quick access shortcuts where the targets and their contents might want to be inspected for housekeeping or other reasons. There is a bit more of a ramble about it at AHK, is there a way of customizing the new dialogs to implement the described effect?
Thanks.
Regarding the open file dialog, this goes back to the old common dialogs (COMDLG32.DLL) before Vista where in opening a shortcut, one could provide the programmatic option of either opening the link file as is or navigating to the directory to where the resolved file link resides. Does anyone recall this behaviour?
If so, read on: :)
The newer system (v6) provides the option of an Open dialog where OFN_NODEREFERENCELINKS can be switched off. The resolved file name can be retrieved as long as *lnk is not included in the filter. This ends the dialog, so there never is any navigation to the folder where the resolved shortcut lies.
In that scenario, any visible pidls or symbolic links can also be navigated to, but file selection may not be possible.
The newer system works fine for most, the folder navigation is more for geeks who might wish to quickly browse through a folder of quick access shortcuts where the targets and their contents might want to be inspected for housekeeping or other reasons. There is a bit more of a ramble about it at AHK, is there a way of customizing the new dialogs to implement the described effect?
Thanks.