Error on system() in fP 5.0.14 Win32 - Need Help

Fairlight fairlite at fairlite.com
Thu Sep 2 14:04:53 PDT 2010


The { instead of < and the missing leading open doublequote were both
typos.  The error I copy/pasted over RDP.  The code I was typing into email
by hand, and wasn't even looking at the actual source...I was also in a
hurry.  The code was actually correct and runnable on the system, I just
typed the email poorly.

As for 'cmd' vs 'command' and paths with spaces, for some reason I thought
if you put the path in doublequotes, it would work in 'command', but I just
tested and I was in error.  You're absolutely right.  And that would be a
critical difference unless you got the 8-character converted names to use
in the code.  Better to just do it in the native 32-bit environment
-anyway-, as things should actually run slightly raster I would think.

mark->

On Thu, Sep 02, 2010 at 10:19:44AM -0400, after drawing runes in goat's blood,
John Esak cast forth these immortal, mystical words:
> Two things... First stupid....
> 
> You have a {hf  and are dcalling it the second path or the file you want to
> store the data to... Then you would need it to be:
> 
>    <hf
> 
> The { will smash the whole path directly against the .pl and you wouldn't
> have two paths, but one long one.  I'm guessing these are all just typoes.
> 
> Seconed thing.  The reason I always use "cmd" nistead of command in the
> Windows Run Dialoog or when calling it from any process is that "cmd" will
> allow you to CD (change directory) to a path that contains SPACES in it, and
> "command" will not.  This is usually very important.


More information about the Filepro-list mailing list