Passing UNC path to “select folder” window applications

Thought I’d share a quick tip regarding some trouble I’ve had with an application recently.

The problem was the application presented a computer browser window to select a file (not the standard one, the restricted horrible one usually presented by some .net applications and the path fields couldn’t be edited manually to enter a UNC path)

I couldn’t use the computer browser service to populate computers and shares as it was messy and couldn’t be enabled for operational reasons. After investigating trying to force a location into network places I realised the simplest option would be the best.

Adding a symlink pointing to a UNC path actually causes .net applications to read the symlink and follow to the UNC path instead! Problem sorted.

Short and sweet this week. That’s all for now.

Leave a Reply

Your email address will not be published.