WINEPATH(1)
π WINEPATH(1) β the winepath glow-up
okay so bestie, welcome to winepath, a lil gem from the Wine Programs corner of the Wine universe. she's giving translator-girlie energy and honestly? iconic. β¨
πΈ NAME πΈ
winepath β converts Unix paths to and from Win32 paths. that's it, that's the whole personality. π
π¦ SYNOPSIS π¦
winepath option {path}
π DESCRIPTION π
so winepath is this tool that converts a Unix path to and/or from a Win32 path β both the short and long flavours β and it stays compatible with its Microsoft Windows counterpart. no cap, it just does the thing. π₯
here's the tea on how she behaves when you give her a lot at once: if you pass more than one option, the input paths get printed out in all the formats you specified, and the order is fixed β long, short, Unix, Windows. don't fight it, she's just like that. π
and if you give her no option at all? the default output is Unix format. she's lowkey spoiling you. π«Ά
β¨ 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 into the long format. she only works on stuff that actually exists, bestie. π-s,--shortβ converts the long Windows path of an existing file or directory into the short format. same deal β the file/dir has to be real. π-0β separates output with a\0character instead of a newline. perfect for when you're piping into something that chokes on newlines. π-h,--helpβ shows thewinepathhelp message and exits. classic. β
π§ BUGS π§
bugs can be reported on the Wine bug tracker. please be nice to the devs, they're doing their best. π₯Ί
π AVAILABILITY π
winepath is part of the Wine distribution, which is available through WineHQ β the Wine development headquarters. yes, she comes bundled, no separate install arc needed. π
π SEE ALSO π
wine(1)- Wine documentation and support
okay that's the whole page, mwah π β this one's shipping as part of Wine 11.21, dated November 2010, and it's still serving. go convert some paths, bestie, you got this. π β¨π¦
π¦ where this page comes from
- arch rolling: wine 11.21-1 Β· LGPL-2.1-or-later
- arch rolling: wine-staging 11.21-1 Β· LGPL-2.1-or-later
- nixpkgs unstable: wine 11.21
- nixpkgs unstable: wine-staging 11.21
- nixpkgs unstable: wine-wow64 11.21
- nixpkgs unstable: wine-wow64-staging 11.21
- nixpkgs unstable: wine64 11.21
- nixpkgs unstable: wine64-staging 11.21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms