Stata/MP 16.0 for Windows (64-bit x86-64) Revision 08 Jan 2020
Microsoft Windows [Version 10.0.17763.973]

When window fopen is used in a program, it seems the window fopen is exexuted in the directory of the ado and not in the current directory. (have I missed some obvious options etc?)

Code:
prog define fopen , nclass

window fopen macroname "title" "*.*"

end
The above will "list" the files from the directory of the ado, not from the current directory.