Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation.
To learn more about these changes please visit the announcement which can be found
I am trying to create an application to update shortcut files that point to locations on mapped drives because our files have been migrated from one server to another with the same share names.
The problem I am having, is that the embedded UNC path in the shortcut (the shortcut's real path uses a mapped drive) does not seem to get updated. I am testing to see if it was updated by changing the extension from a command prompt to txt, and
viewing the info in notepad.
I know that the shortcut contains a UNC path, because it will automatically map the drive if it is not mapped when clicking on it.
Note that I am using Windows XP.
The problem is that it keeps mapping the old server instead of the new one.
I have tried modifying the shortcut using both wso.CreateShortcut, and Shell32.ShellLinkObject, but neither seem to work.