HTML link to XYplorer

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Shutey
Posts: 45
Joined: 25 Apr 2023 10:11

HTML link to XYplorer

Post by Shutey »

I have an off line development environment on my laptop consisting of Apache, PHP and MySQL. Here I create offline websites to try and test things for my own amusement.

I was wondering if there was any way to call Xyplorer from a web page. Something like ...
<a href="C:\Program Files (x86)\XYplorer\XYplorer.exe-c:\myimages\mypics\">Linkname</a>?

The reason I ask is that I have a gallery website and sometimes I need to go to an image on the web page. It would be convenient to click a link on the page and go straight to the relevent folder in Xyplorer and a lot faster than navigating to it manually.

I have tried the code above with back slashes and forward slashes but Firefox didn't understand it!

It's not a biggy if this can't be done. I doubt many need it or would use it but in case it can be done, I thought I'd ask.

Thank you
Dell XPS 17" 12th gen i9 cpu, 64GB Ram, 2TB SSD, RTX 3060 6GB Vram running Windows 11 Pro
Lenova YOGA 9i Pro 16" Ultra i9 cpu, 64GB Ram, 1TB SSD, RTX 4070 8GB Vram running Windows 11 Pro

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: HTML link to XYplorer

Post by highend »

If the links to the folders are really local paths:
https://addons.mozilla.org/en-US/firefo ... open-with/

Requires only two clicks afterwards (right click on the link + the XY entry)

Code: Select all

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>title</title>
  </head>
  <body>
    <a href="D:\Users\Highend\Bilder">Linkname</a>
  </body>
</html>
1.png
2.png
You do not have the required permissions to view the files attached to this post.
One of my scripts helped you out? Please donate via Paypal

Shutey
Posts: 45
Joined: 25 Apr 2023 10:11

Re: HTML link to XYplorer

Post by Shutey »

Thanks @Highend for your reply, had to leave it for a few days but did as you said and while your post left out a couple of steps relating to setting up "Open-With", like needing Python and having to set up XY as a browser, I managed to figure it out and it worked a treat. So job done and thank you again.
Dell XPS 17" 12th gen i9 cpu, 64GB Ram, 2TB SSD, RTX 3060 6GB Vram running Windows 11 Pro
Lenova YOGA 9i Pro 16" Ultra i9 cpu, 64GB Ram, 1TB SSD, RTX 4070 8GB Vram running Windows 11 Pro

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: HTML link to XYplorer

Post by highend »

There are probably other ways (like defining a new protocol in the registry) but this looked rather straight forwarded :whistle:
One of my scripts helped you out? Please donate via Paypal

Post Reply