Add link to open a local file in Google Docs

蹲街弑〆低调 提交于 2020-12-01 02:33:02

问题


I have made a guide (or something like a tutorial) about my tool to share with my company. I used Google Docs to do that, and I would like to add links to open video guides. I want to know a way to add link in the document.


回答1:


What I do is the following. Links in sheets ( or in your case Docs) only respond to internet protocols e.g. HTTP://, HTTPS:// and so on... . It does not respond to file explorer protocols (like excel or word does) e.g. file:\\ or C:\.

So I installed WampServer (any other server will do as well, I just use this) and then copied the files into the WWW folder.

Now you can link to files that way. Google Docs/Sheets accept links to localhost as acceptable files to establish a link.

Be aware, your server will have to be online for the links to work. But this is how I solved my problem without uploading items to the cloud that I want to keep private and still use in google docs.

This is just for my local computer, if you want to share the doc with others in a local environment a little more understanding of your local server operations will be needed (i.e. do not use localhost, but refer to your IP-address).

The server can be scale-able on your local network as well, at this point a little more education will be required.

However, if you want to share the doc with others around the world this will not work at all




回答2:


What I do is upload the files on Google Drive, and post the shareable link on Google Doc. Works like a charm!




回答3:


Try Redirector. It's simple Chrome/Firefox add-on for redirections. You can add before your path "http://" - Google Doc will be OK with that, then just configure redirection rule in addon. Rule can include wildcard or regular expression.




回答4:


I am pretty sure that this is a security issue, as having the browser able to open, read, and transmit (even if not able to update) local files is something that is generally not a great idea.

My suggestion is either

1) upload your files to Google Drive and create a link for your folder structure or
2) create a simple Google Doc and list your links as below:

Example here



来源:https://stackoverflow.com/questions/25565613/add-link-to-open-a-local-file-in-google-docs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!