ExecFile() not executing a file

Blitz3D Forums/Blitz3D Beginners Area/ExecFile() not executing a file

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It is a BB3d.exe . I have successfully executed the file form within my BB app prior to 'installing' my project. I have tried using the following to determine whether the confirmation that I am accessing the correct path within the application is not lieing to me:-

checkthere = FileType (filename$)
Text 5, 600, "The filetype is:- ", checkthere

checkthere is basically populated with a blank space character ? I would have thought it should be 0, 1 or 2 - I'm probably going syntactically wrong somewhere....

Ended up using a workaround:

prefilename$ = SystemProperty("AppDir")
filename$ = SystemProperty("AppDir") + "Results_Compare.exe"
;filename$ = resultzname$ WORKS
ChangeDir prefilename$
ExecFile "Results_Compare.exe"