carta
winepath(1)

winepath1

Convert unix paths to/from win32 paths

Usage

winepath option path

Overview

winepath is a tool to convert a Unix path to/from a Win32 (short/long) path compatible with its Microsoft Windows counterpart.

If more than one option is given then the input paths are output in all formats specified, in the order long, short, Unix, Windows. If no option is given the default output is Unix format.

Options

-u, --unix

converts a Windows path to a Unix path.

-w, --windows

converts a Unix path to a long Windows path.

-l, --long

converts the short Windows path of an existing file or directory to the long format.

-s, --short

converts the long Windows path of an existing file or directory to the short format.

-0

separate output with \0 character, instead of a newline.

-h, --help

shows winepath help message and exit.

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)

--help since Debian 8 (Jessie); --long since Debian 8 (Jessie); --short since Debian 8 (Jessie); --windows since Debian 8 (Jessie); -h since Debian 8 (Jessie); -l since Debian 8 (Jessie); -s since Debian 8 (Jessie); -w since Debian 8 (Jessie).

--version until Debian 8 (Jessie); -v until Debian 8 (Jessie).

Bugs

Bugs can be reported on the Wine bug tracker ⟨https://bugs.winehq.org⟩.

Availability

winepath is part of the Wine distribution, which is available through WineHQ, the Wine development headquarters ⟨https://www.winehq.org/⟩.

From wine 11.21-1 in Arch Linux 2026-11-01. Also shipped by wine-staging. Parsed by carta from the page's man source.