Richard,

Does it work if you execute exactly what jBASE did?  Perhaps there is a problem 
with c:\Windows\system32\cmd.exe

C:\Windows\system32\cmd.exe /c c:\blat c:\temp\email.txt -to 
[email protected]<mailto:[email protected]> -s test

From: [email protected] [mailto:[email protected]] On Behalf Of 
Richard Kann
Sent: Friday, January 17, 2014 9:50 AM
To: [email protected]
Subject: Re: Jbase 3.x windows error

Yes. I have a test.bat command in the root directory that does just that. and 
if I type c:\blat .... at c:\ prompt it also works. Just fails in Jbase.
On 1/17/2014 9:26 AM, Dan Ell wrote:
Richard,

This works from the command prompt?

c:\blat c:\temp\email.txt -to [email protected]<mailto:[email protected]> -s 
test  -debug
From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Richard Kann
Sent: Friday, January 17, 2014 9:09 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: Jbase 3.x windows error

Yes, it is in the root c:\ directory.
On 1/17/2014 6:33 AM, Daniel Klein wrote:
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]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[email protected]>
To unsubscribe, send email to 
[email protected]<mailto:[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]<mailto:jbase%[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]<mailto:[email protected]>
To unsubscribe, send email to 
[email protected]<mailto:[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]<mailto:[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]<mailto:[email protected]>
To unsubscribe, send email to 
[email protected]<mailto:[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]<mailto:jbase%[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]<mailto:[email protected]>
To unsubscribe, send email to 
[email protected]<mailto:[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]<mailto:[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]<mailto:[email protected]>
To unsubscribe, send email to 
[email protected]<mailto:[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]<mailto:[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]<mailto:[email protected]>
To unsubscribe, send email to 
[email protected]<mailto:[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]<mailto:[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]<mailto:[email protected]>
To unsubscribe, send email to 
[email protected]<mailto:[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]<mailto:[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.

Reply via email to