I am trying to create a link to a folder such as
C:\Program Files (x86)\7-Zip
I have tried to use href, but as I understand that automatically appends a .pdf to the end.
I tried the solution in hyperref: How to open a directory view with href{...}?
but no success there either. The documentation http://www.tug.org/applications/hyperref/manual.html seems to imply that \url{} can be used for paths. But this just generated a text version of the url.
What is the correct method for linking to a folder? Am I misusing a method or am I not using the correct approach?
Thanks in advance

hyperrefand using\urlshould work, but will display the path name in the file too. What end result do you want? – Andrew Swann Jun 06 '18 at 08:59home.htmlorindex.html. Firefox defaults to using the search engine. – John Kormylo Jun 07 '18 at 15:08