Code: Select all
dir := "C:\Potato"
FileSelectFile, file, 3, %dir%\HavokBehaviorPostProcess.exe, Find the location of your HavokBehaviorPostProcess.exe:, Executable Files (*.exe)
MsgBox, %file%
Using a shorter filename solves the issue, but unfortunately the .exe is a piece of third party software.
This seems to be a display bug only, as simply pressing Open in the above dialog still prints out the proper filename in the MsgBox (and correctly detects that the file exists, as per FileSelectFile mode 3):
I believe this to be a bug, as another user had the same problem a while ago and it was not resolved, only the source code of FileSelectFile was posted. I am unfortunately fairly new to C++ (particularly GUIs in C++), so I wasn't able to locate the bug.C:\Potato\HavokBehaviorPostProcess.exe