It may work from 'c:\' but is it *in *that directory? I'm suggesting that it is not but can be found somewhere in the PATH.
This can be proved by changing the code from CMD=CHAR(255):'k':'c:\blat , , ,' to: CMD=CHAR(255):'k':'blat . . .' Dan On Thu, Jan 16, 2014 at 11:24 PM, Richard Kann <[email protected]> wrote: > Yes. The statement works from the command c:\ prompt. > > > > On 1/16/2014 9:24 PM, Daniel Klein wrote: > > Is the 'blat' command actually in the 'c:\' directory? > > 'blat' (where ever it is) is probably in the PATH, which is why it runs > from c:\ (or from anywhere for that matter). > > Dan > > > On Thu, Jan 16, 2014 at 5:03 PM, Richard Kann <[email protected]> wrote: > >> Trying to run a blat command via an execute statement. The command can be >> run at a c:\ prompt with no problem but fails within the program. Any >> ideas? <Note: the failure happens only at one site, other sites running >> same program/jbase version work fine>. >> >> Program: >> CMD=CHAR(255):'k':'c:\blat c:\temp\email.txt -to [email protected] -s >> test -debug' >> EXECUTE CMD >> END >> >> Result: >> >> jsh DARTS ~ -->TESTBLAT >> ** Error [ PERFORM_NOPROG ] ** >> Error 0 loading program C:\Windows\system32\cmd.exe /c c:\blat >> c:\temp\email.txt -to [email protected] -s test >> -debug , No such program >> >> >> >> Richard Kann >> Comp-Ware Systems, Inc. >> >> >> -- >> -- >> IMPORTANT: T24/Globus posts are no longer accepted on this forum. >> >> To post, send email to [email protected] >> To unsubscribe, send email to [email protected] >> For more options, visit this group at >> http://groups.google.com/group/jBASE?hl=en >> >> --- You received this message because you are subscribed to the Google >> Groups "jBASE" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
