Open Images (or Any File) from WSL2 — Directly in Windows

Read full text
Authors: An Michel Rodríguez
Cited by: 0

Abstract

Working in WSL2 often breaks simple workflows like opening images or PDFs from the terminal. This article presents a minimal, reliable shell function that opens any file from WSL2 using Windows Explorer, avoiding common issues with UNC paths and unreliable direct application launches.

Fields of Study & Subjects

Cloud Computing and Remote Desktop Technologies Open Source Software Innovations Engineering and Information Technology

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
28 January 2026