Question Blat On Proedit

Wellington

New Member
Hi everyone,

I use the blat.exe for to send e-mails through of Progress on Windows Server 2003. But with Windows Server 2008, when I try to execute the blat through of OS-COMMAND, the prompt show a error:
It is not recognized as an internal or external command , operable program or batch file.

Ps. When run the command on prompt (cmd.exe), it´s ok.

Thank you.
 

Cringer

ProgressTalk.com Moderator
Staff member
How are you running the OS-COMMAND? Is it through an AppServer, a Batch Process, or through an editor session?
What happens when you create a .bat file to call blat and call that with OS-COMMAND?
What is the command you execute on cmd.exe, and what is your OS-COMMAND syntax?
 

TheMadDBA

Active Member
Sounds like the PATH for your environment is different than the PATH for the Progress session that is trying to run blat. Try using the entire path to the blat.exe and see if that works.
 

andre42

Member
My guess is that it is a 32-bit/64-bit issue.
Assuming Windows Server 2008 is the 64-bit edition, cmd.exe is a 64-bit process and will see directory names as-is.
If the Progress executable you are using is 32-bit (until recently prowin32.exe only existed as a 32-bit executable) it will see the 32-bit (x86) Paths instead of the standard system paths:
C:\Program Files will map to C:\Program Files (x86)
C:\Windows\System32 will map to C:\Windows\SysWOW64
 
Top