system command
Dennis Malen
dmalen at malen.com
Tue Nov 1 10:11:38 PST 2005
Mark,
I just got in to the office. I did test it late last night from home. Just
so you know, when I piped it to the file - if I used echo and then the line,
the file would be empty. If I used "echo noredraw" and the rest of the line
it would place only the word noredraw in the file.
That being said I will try your suggestion now. It's frustrating because
msgbox confirmed the output visually was correct, but obviously it was not
sending it anywhere.
I'll let everyone know shortly.
Thanks,
Dennis
----- Original Message -----
From: "Fairlight" <fairlite at fairlite.com>
To: <filepro-list at lists.celestial.com>
Sent: Monday, October 31, 2005 8:05 PM
Subject: Re: system command
> The honourable and venerable Fairlight spoke thus:
>> In the relative spacial/temporal region of
>> Mon, Oct 31, 2005 at 03:43:25PM -0500, Dennis Malen achieved the
>> spontaneous
>> generation of the following:
>> > I would like to place the following string in a system command:
>> >
>> > echo "\033&oFvar searchnum=55555;CompileFile(\"260268.cs\");\015"
>> >
>> > When this line is executed on the command line it works perfectly. The
>> > following is my processing for "system":
>> >
>> > Then:le="echo";lg="\"\\033&o";pa="Fvar
>> > searchnum="{@rn{";CompileFile(\\\"260268.cs\\\");\\015\""
>
> I found your problem for you. You need the code segment:
> CompileFile(\\\\"260268.cs\\\\")
>
> You were previously ending up with a result of: CompileFile(\260268.cs\)
>
> You need an extra backslash on each end. Frankly, I'm not sure why
> myself.
> I would have thought the code you gave is correct with one backslash
> escaping each of the two characters, \ and ", but apparently it is
> not correct for some reason that's eluding me at the moment.
>
> I did, however, find the code that yields your desired result. More or
> less felt my way into the solution, since the problem didn't make sense to
> me in the first place. Sometimes fixes are just instinctive, much as I
> hate those particular fixes.
>
> Tested on SCO 6.0.0, fP 5.0.14D4.
>
> Ken, John, anyone: why is the original syntax incorrect? It's going to
> give me nightmares.
>
> 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