To write your own link, use the URL-encoded web address or file path of the document as the src parameter of the URL. For example, for a document located at \\servername\path1\path2\file, write the link or embedding code as follows:
https://webapps.nrel.gov/op/view.aspx?src=%5C%5Cservername%5Cpath1%5Cpath2%5Cfile
<iframe src='https://webapps.nrel.gov/op/embed.aspx?src=%5C%5Cservername%5Cpath1%5Cpath2%5Cfile' width='476px' height='288px' frameborder='0'>This is an embedded <a target='_blank' href='http://office.com'>Microsoft Office</a> document, powered by <a target='_blank' href='http://office.com/webapps'>Office Web Apps</a>.</iframe>