carta
winepath-stable(1)

winepath-stable1

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

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)

--version until Debian 11 (Bullseye); -v until Debian 11 (Bullseye).

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 10.0~repack-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.