A
A
Ana Heim2021-06-25 15:49:25
PHP
Ana Heim, 2021-06-25 15:49:25

How to make a link to launch a file on a computer in Wordpress?

the task is the following
condition: a site on wordpress
is necessary: ​​to make buttons that will launch certain files / folders / programs from the desktop or another directory.

something from the category

file://localhost/C:/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2021-06-25
@ana_heim

Purely theoretically, any URL protocol can be registered in the system ( in windows ).
Associate it with any application that will perform the actions you need (for example, run other programs)
So, telegram registers the protocol during installation tg://, Skype - skype://.
For example, you register a protocol execprogam://, associate it with your self-written program or script, and make links like this on a web page. execprogram://calc.exe
I hope you understand that you need to manually register the protocol on each target computer and install your utility on this computer, which will work on this protocol.
Therefore, if you need a solution for internal use, for yourself, this is the right option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question