The file is always created next to the app (project) with a name that is the shell path of the folder.
V4RB 9.5.3, Xojo 2019r1.1, MacOS 10.14.6
My code is :
dim f As FolderItem
dim result As Integer
f = SpecialFolder.Temporary.Child("MyDiagnoseReport.txt")
result = self.Diagnose(0, f)
How can I create the file in the specified folder ?