Re: IDE and files with spaces in path name
- Posted by Judith Evans <camping at flash.net> Jan 11, 2001
- 440 views
But doesn't the statement after the shellExecute immediately execute before the running program has completed? After I run the program with system_exec I look to see if ex.err exists and then show the error statement in the IDD's Code Editor. I tried using system instead of system_exec and it worked fine with the spaces but it let the error checking happen (which is the next set of statements after the system.....) before it ended so it always thought there was no ex.err file when in fact there might have been. Judith On Thu, 11 Jan 2001 11:59:59 -0500, wolfgang fritz <wolfritz at KING.IGS.NET> wrote: >... don't know about DOS_stuff... but how about this, >include win32lib.ew >constant >MyWin=create(Window,"opens",0,10,10,200,40,0) >procedure go() >-- space between AB, and CD ! >shellExecute("open","c:\\AB CD\\yourprogram.exw",SW_SHOWNORMAL) >end procedure >onOpen[MyWin]=routine_id("go") >WinMain(MyWin,Normal) > >> system_exec exw "c:\path\my files\myprog.exw" >Wolf