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.
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
npm install http-server -g
, then open a terminal window in the folder with the files and run http-server
. Files are accessible at localhost:8080/path/to/file.jpg –
Denysedenzil python -m http.server 8080
and access 127.0.0.1:8080
but anyhow, I don't think google docs would be able to write to the document so it's fairly limiting. And where is google doc's option to open a URL anyway? btw 127.0.0.1:8080/sdfs.docx doesn't open it it just leads chrome to download it –
Satisfactory What I do is upload the files on Google Drive, and post the shareable link on Google Doc. Works like a charm!
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.
For future readers - You could try linkyourfile.com (I am the developer of it)
It is a windows and mac extension for explorer and finder with which you can create an https link to a local or network file / folder. If you click on the link the extension will launch the file or the explorer / finder.
It also has some other useful features:
- Cloud provider placeholders to fix the problem with e.g. different dropbox locations on different devices.
- If a file / folder can not be found you can relink it and on the next link click it will be auto detected again.
© 2022 - 2024 — McMap. All rights reserved.
file:///c|/carp/a.txt
orfile:///c:/carp/a.txt
but u can always do 127.0.0.1/a.txt youd have to set up a web server. Nothin to do with gdocs. Same applies from any webpage. – Satisfactory