are you sure blitz3d is using the same directory? If you are using any win32 file-open/save windows
or if you have used changedir() anywhere in the program etc then you may find it isnt.
at the start of all my apps i always do a:
global appdir$=currentdir()
to record the exact dir of startup.
then before any file op. like loading stuff or exec (assuming exe is in this folder)
changedir(appdir)
execfile ("myfile.exe")
or if you have subfolders:
changedir(appdir+"/otherprogs")
execfile ("myfile.exe")
you could just add the path directly to the filename, but im not sure if this would affect the program's starting folder (ie. if the program was to load its own media etc).
If you think it could be the EXE itself, what happens when you just type the name from the terminal (dos) prompt?
or if you have used changedir() anywhere in the program etc then you may find it isnt.
at the start of all my apps i always do a:
global appdir$=currentdir()
to record the exact dir of startup.
then before any file op. like loading stuff or exec (assuming exe is in this folder)
changedir(appdir)
execfile ("myfile.exe")
or if you have subfolders:
changedir(appdir+"/otherprogs")
execfile ("myfile.exe")
you could just add the path directly to the filename, but im not sure if this would affect the program's starting folder (ie. if the program was to load its own media etc).
If you think it could be the EXE itself, what happens when you just type the name from the terminal (dos) prompt?