How to open folder in windows via an HTML link?

Asked

Viewed 5,425 times

1

Folders are opened through the browser. I would like you to open your own Windows folders.

I’ve tried to do the following:

inserir a descrição da imagem aqui

  • Try as follows: <a href="file:///home/username">Link</a>

  • vc will not be able to open this way without determining the file inside the folder. If you have an index.html file, you should put so for example href="file:///D:\index.html" the browser will not open a Windows Explorer folder in the window... unless it is via ftp by the server or making a direct access to the folder on a server, not on the client’s local machine.

  • I understood that you want to open the Windows Explorer (file manager) by clicking on a link in the browser, that’s it?

  • The browser usually does not open folders from your computer but files located in folders from the tag <a href="local do arquivo">Título do arquivo</a>

1 answer

-1

Open the HTML file with Internet Explorer. This causes a Windows Explorer window to open. It is possible to choose another extension to the file (for example .HTM) and set to Internet Explorer to open by default.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.