https://bugs.winehq.org/show_bug.cgi?id=56842
--- Comment #3 from Maotong Zhang zmtong1988@gmail.com --- Created attachment 76651 --> https://bugs.winehq.org/attachment.cgi?id=76651 Test GetCurrentDirectoryW() obtain the working directory
I wrote a test program that uses GetCurrentDirectoryW() to retrieve the current process working directory and display it. Working directory: L "C: \ \ Program Files (x86) \ \ test \ " Test file: 1、exe: get-directory.exe 2、Lnk: get directory.lnk (shortcut to "C: \ \ Program Files (x86) \ \ test \ \ get-directory.exe" ) 3、Place 2 test files in the " C: \ \ Program Files (x86) \ \ test \ \ "directory and run them Run file: 1、Run WINEPREFIX=/home/work/test wine get-directory.exe, Display the working directory of the current Linux terminal process. 2、Run WINEPREFIX=/home/work/test wine get-directory.lnk , Display the working directory as "C: \ Program Files (x86) \ test", which is the working directory of Windows