[Bug 52544] New: %__APPDIR__% and %__CD__% variables support
https://bugs.winehq.org/show_bug.cgi?id=52544 Bug ID: 52544 Summary: %__APPDIR__% and %__CD__% variables support Product: Wine Version: 7.1 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: fiendishx(a)gmail.com I'm not able to easily update to 7.2 because I'm on a mac and am largely dependent on https://github.com/Gcenx/homebrew-wine but I tested myself in Wine 6.0 and had a friend using Linux test in Wine 7.1, and it seems unlikely that this was fixed in the 7.2 update. It seems like the %__APPDIR__% and %__CD__% path variables don't work in Wine? See the "undocumented" section of https://ss64.com/nt/syntax-variables.html Example: wine cmd.exe echo %__APPDIR__% -> just prints "%__APPDIR__%" On my windows machine, "echo %__APPDIR__%" prints "C:\Windows\SysWOW64\" or "C:\Windows\system32\" depending on which version of cmd.exe (32/64 bit) was invoked. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52544 temp82(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82(a)luukku.com --- Comment #1 from temp82(a)luukku.com --- Example: wine cmd.exe echo %__APPDIR__% -> just prints "%__APPDIR__%" got same output wine 7.2 (Linux) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52544 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |cmd Keywords| |download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52544 --- Comment #2 from fiendishx(a)gmail.com --- I also want to add that, unlike %CD% which is only available in cmd.exe, %__CD__% and %__APPDIR__% are available system-wide to all applications in Windows. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52544 Eric Pouech <eric.pouech(a)orange.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech(a)orange.fr Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #3 from Eric Pouech <eric.pouech(a)orange.fr> --- confirming, those are pseudo env variables returned by GetEnvironmentVariable -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52544 --- Comment #4 from Eric Pouech <eric.pouech(a)orange.fr> --- Created attachment 71992 --> https://bugs.winehq.org/attachment.cgi?id=71992 wine tests for pseudo env vars -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52544 --- Comment #5 from Eric Pouech <eric.pouech(a)orange.fr> --- Created attachment 71993 --> https://bugs.winehq.org/attachment.cgi?id=71993 implementation of pseudo env var (__APPDIR__ and __CD__) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52544 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest(a)gmail.com --- Comment #6 from Vijay Kamuju <infyquest(a)gmail.com> --- This also needs to be part of the rewrite, its missing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla