https://bugs.winehq.org/show_bug.cgi?id=49242
Bug ID: 49242 Summary: provide some way to get reported windows version via command line Product: Wine Version: 5.9 Hardware: x86 OS: Linux Status: NEW Keywords: download Severity: enhancement Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
Follow up to bug 41559:
winecfg now allows `winecfg /v winxp` to get the windows version. It would be useful to be able to do similar to get the reported version.
That could be winecfg, or, as Focht pointed out in https://bugs.winehq.org/show_bug.cgi?id=41559#c7, could be via native win32 methods:
https://www.windows-commandline.com/find-windows-os-version-from-command/
--- snip --- $ wmic os get buildnumber,caption,CSDVersion /format:csv --- snip ---
--- snip --- $ systeminfo | findstr /B /C:"OS Name" /C:"OS Version" --- snip ---