ExecFile problems

Blitz3D Forums/Blitz3D Programming/ExecFile problems

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

At a guess, I would say that it is a combination of Malice's and Boiled's solutions that you need. It *might* be that when you run it on the systems that don't launch, you have the executable in a folder (or a subfolder of a folder) that has a space in it's name.

If this is the case, simply appending and prepending quotes to the full qualified path should resolve this.

Function ShowHelp() 
  sFile$ = chr$(34) + CurrentDir$() + "help\help_main.htm" + Chr$(34)
  ExecFile(sFile$) 
End Function