1. Re: error? Print Preview
- Posted by Robert Craig <rds at RapidEuphoria.com> Sep 25, 2003
- 387 views
Juergen Luethje wrote: >>>Ah! The penny drops. It's not coping with a space in the directory >>>name very well. Try renaming the "Print Preview" directory (with a >>>space) to "PrintPreview" (without a space). >>> >>>Can anyone help here, I don't know what else MEditor should do: >>>the variable exe is set to: >>>C:\EUPHORIA\bin\exw.exe "D:\Print Preview\pptest.exw" >>>but >>> err_msg = system_exec(exe, 2) >>> >>>dies with the above message. I'm sure putting the quotes round the >>>path&name helped in the past, but they don't seem to anymore. I tried it. As you say, the quotes work for system() but not system_exec(). I'm calling Watcom routines for those things. Maybe system() opens a shell that interprets quotes on the command-line correctly. I'll make a note of this. Thanks. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com