Drag & Drop from File Explorer produces incorrect file paths with WSL #492

Open
opened 2026-01-30 21:53:40 +00:00 by claunia · 0 comments
Owner

Originally created by @acesnik on GitHub (Dec 19, 2018).

Dragging & dropping a file from Windows File Explorer into a Bash window produces the path formatted for Windows instead of Ubuntu.

Dragging the Desktop folder into a Bash window should produce the text /mnt/c/Users/acesnik/Desktop. Instead, it produces C:\Users\acesnik\Desktop.

Your Windows build number
Edition: Windows 10 Pro
Version: 1607
OS Build: 14393.576

See also https://github.com/Microsoft/WSL/issues/1501

Originally created by @acesnik on GitHub (Dec 19, 2018). Dragging & dropping a file from Windows File Explorer into a Bash window produces the path formatted for Windows instead of Ubuntu. Dragging the Desktop folder into a Bash window should produce the text /mnt/c/Users/acesnik/Desktop. Instead, it produces C:\Users\acesnik\Desktop. Your Windows build number Edition: Windows 10 Pro Version: 1607 OS Build: 14393.576 See also https://github.com/Microsoft/WSL/issues/1501
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#492