ASK DIRECTORY in editor mode versus bind ,exe mode

In interactive mode in the Editor, ASK DIRECTORY variably gives the correct path to the source or the path to the compiler etc within in the TrueBASIC v 6 installed directory.

In compile and bind mode, the ASK DIRECTORY correctly renders the instant directory path in which the bind program .exe is invoked.

Welcome to Microsoft.

Please send me response / fix at info@cec-services.com, as I don't read this website much.

Comments

Valid OPEN statement

The only reason that I can think of is that the file you have opened is in the Program files directory or maybe another directory which has a space in the folder name. The editor passes control to the compiler to RUN a program by sending the compiler the full pathname of the file that you want to run. If the pathname contains any spaces then the compiler will not find it.