file:// URLS not supported #12339

Closed
opened 2026-01-31 03:12:53 +00:00 by claunia · 3 comments
Owner

Originally created by @derSchtefan on GitHub (Jan 31, 2021).

Environment

Windows build number: 10.0.19042.0
Windows Terminal version (if applicable):  1.5.10271.0

Steps to reproduce

Construct a file:// URL like referenced here:
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#file-uris-and-the-hostname
Which is referenced here:
https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-4-release/#hyperlink-support
Like this: (WSL)
printf '\e]8;;file://'hostname'/C:\temp\e\This is a link\e]8;;\e\\n'

And CTRL+Click on it.

Expected behavior

The folder referenced (in this case C:\Temp) opens.

Actual behavior

Error message: This link type is currently not supported:
file://derRyzen/C:\temp

Comment

This is sad, it would enable amazing ls integration (via scripting) and make workflows so much easer. Also the working directory in your prompt would become clickable.

Originally created by @derSchtefan on GitHub (Jan 31, 2021). # Environment ```none Windows build number: 10.0.19042.0 Windows Terminal version (if applicable): 1.5.10271.0 ``` # Steps to reproduce Construct a file:// URL like referenced here: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#file-uris-and-the-hostname Which is referenced here: https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-4-release/#hyperlink-support Like this: (WSL) printf '\e]8;;file://'`hostname`'/C:\\temp\e\\This is a link\e]8;;\e\\\n' And CTRL+Click on it. # Expected behavior The folder referenced (in this case C:\Temp) opens. # Actual behavior Error message: This link type is currently not supported: file://derRyzen/C:\temp # Comment This is sad, it would enable amazing ls integration (via scripting) and make workflows so much easer. Also the working directory in your prompt would become clickable.
claunia added the Resolution-Duplicate label 2026-01-31 03:12:53 +00:00
Author
Owner

@j4james commented on GitHub (Jan 31, 2021):

See issue #7699.

@j4james commented on GitHub (Jan 31, 2021): See issue #7699.
Author
Owner

@zadjii-msft commented on GitHub (Feb 1, 2021):

Thanks for the help triaging!

/dup #7699

@zadjii-msft commented on GitHub (Feb 1, 2021): Thanks for the help triaging! /dup #7699
Author
Owner

@ghost commented on GitHub (Feb 1, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Feb 1, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12339