# create a link to open another pdf, not in the current directory [duplicate]

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.

• You can use `\href{<target file>}{<description>}` from `hyperref` but file will be opened in a browser. – user11232 Nov 5 '13 at 8:05
• Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – user11232 Nov 5 '13 at 8:06

``````\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