system command

Dennis Malen dmalen at malen.com
Mon Oct 31 14:57:13 PST 2005


Thanks Mark,

I'll try that and see if it works.

I'm just on my way out. I'll do it tomorrow and report back my results.

I do think your on to something that using the system command interferes 
with the execution of the line especially since we are using special codes 
such as "\" to let filepro know to expect a literal etc.

I'll report back tomorrow,

Thanks,

Dennis Malen
516.479.5912

----- Original Message ----- 
From: "Fairlight" <fairlite at fairlite.com>
To: <filepro-list at lists.celestial.com>
Sent: Monday, October 31, 2005 5:47 PM
Subject: Re: system command


> With neither thought nor caution, Dennis Malen blurted:
>> Mark,
>>
>> Thanks for your response.
>>
>> Is the problem really the echo command? When I apply that line directly 
>> to a
>
> Knowing now what the context is, the problem is more likely to be a lack 
> of
> NOREDRAW than anything else.  Maybe the two get interspersed somehow at
> high speeds.
>
> I still say capturing it TO A FILE with a redirect and then pouring over 
> it
> character by character -there- is the way to go.  You are depending on
> MSGBOX, but things may have gotten interpreted by the shell that is 
> invoked
> by calling SYSTEM, thus leaving you with an unacceptable (and useless)
> command when you go through that route, where it is untouched internally
> for MSGBOX because it's not open to meta interpolation, etc.
>
> Tell you what, do this:
>
> 1) Redirect it to a file.
> 2) Examine the file.  Does the string look correct in that file?
> 3) If so, stick "echo " (no quotes, just echo and a space) in front of
>   the contents of the line that was generated by your code.  Then invoke
>   `sh filename` where filename is the file to which you redirected the
>   output in step 1.  Does it work -then-?
>
> If you can make it through step 3 and that works, then I suggest adding
> NOREDRAW to your SYSTEM command.  If it still doesn't work, then you 
> should
> bring it back here again and we'll look at your results.
>
> mark->
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
> 




More information about the Filepro-list mailing list