Dragging paths to WSL session should be converted to a WSL path #6451

Open
opened 2026-01-31 00:39:05 +00:00 by claunia · 0 comments
Owner

Originally created by @viniciusjarina on GitHub (Feb 15, 2020).

Dragging a folder or a file to the terminal on a WSL session should convert the path to to a WSL path.
eg:

Dragging C:\Users\vinja -> /mnt/c/Users/vinja
Dragging \\wsl$\Ubuntu\home\vinja\local -> /home/vinja/local/

This way you could drag files/folders from the explorer and easily use on WSL
wsl_drop

Originally created by @viniciusjarina on GitHub (Feb 15, 2020). Dragging a folder or a file to the terminal on a WSL session should convert the path to to a WSL path. eg: Dragging `C:\Users\vinja` -> `/mnt/c/Users/vinja` Dragging `\\wsl$\Ubuntu\home\vinja\local` -> `/home/vinja/local/` This way you could drag files/folders from the explorer and easily use on WSL ![wsl_drop](https://user-images.githubusercontent.com/926868/74579894-3d724400-4f53-11ea-8a31-d66b9c439d91.gif)
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 00:39:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6451