How can I make a hyperlink to a pdf file located somwhere out of the current directory of .tex file?
For example, my .tex file is located in C:\myWritings and the pdf file to be linked in the tex is located in C:\PDFs.
Just insert
\href{run:C:/PDFs/example.pdf}{This is descriptive link text}
, you have to use \href
instead of \url
according to Link to local (PDF) file
\href{<target file>}{<description>}
fromhyperref
but file will be opened in a browser.