system command
Dennis Malen
dmalen at malen.com
Mon Oct 31 12:43:25 PST 2005
Hello Everyone!
I am on IBM AIX. I have 4.8 filepro soon to upgraded to 5.0.
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\""
Then: system le<lg{pa
If I use "msgbox le<lg{pa" the line comes up in the window correctly. If I
cut and paste the line to the unix command line it executes properly. The
system command does not execute it properly. In fact, nothing happens. In
lieu of using "\" to put in the extra "\" and quotes I experimented with
using "chr". That also displayed on the message box correctly, but when used
with the system command nothing happened.
Also please note that "55555" that I hard wired in was properly substituted
for the "@rn" in the string and displays correctly.
If it works on the command line, it should work in the system command.
Any help would be appreciated.
Dennis Malen
516.479.5912
More information about the Filepro-list
mailing list