jiranz wrote:C:\Freebasic64>fbc -exx myprog.bas
Aborting due to runtime error 2 (file not found) at line 1662 of myprog.bas::()
Code: Select all
open "logs\" + format$(logyear) + "_activity.log" for append as #11
print #11,format$(now,"hh:mm:ss ddd dd-mmm yyyy") + space$(2) + logactivity$
I suspect it is a false positive (not the real problem) because I commented out that entire section after which I got no further error report in the command but the compiled exe program still would not start .
I suppose that the "logs" folder does not exist in "C:\Freebasic64".