Consultor Eletrônico



Kbase 16713: Redirection of proutil into a file under DOS
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Redirection of proutil into a file under DOS

PROBLEM:
========
Several user report that it is not possible to redirect the output of
proutil under DOS. A command like
proutil sports -C dbanalys > analyse.txt
will result in a 0 byte size file analyse.txt and all the information
will be on screen instead.

REASON:
=======
It is not possible to redirect the output of a batch file - the
proutil command calls proutil.bat!

SOLUTION:
=========
There are 2 possible solutions:
A) Use the executable (_proutil) instead of the batch file (proutil):
Set the DLC variable by yourself, if not already set, and type
_proutil sports -C dbanalys > analyse.txt
B) Start a new command interpreter for the batch file:
command /c proutil -C dbanalys > analyse.txt


EKU (03/04/97)

Progress Software Technical Support Note # 16713