English

How To: Send the results from TRANSFORM to a text file

Summary

This document presents two ways to capture the results from using the TRANSFORM command to a text file.

Procedure

Warning:
The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
Modify the C:\ARCEXE\PTOOL\TRANSFOR.BAT in a text editor.

Change line #32 from CALL %ARC%\CPLLIB\R STARTER CONS TRANS to CALL %ARC%\CPLLIB\R STARTER zzzzzzzzzz TRANS where
zzzzzzzzzz = the drive, path, and file name of the output (for example: C:\GISDATA\MY_FILE.TXT).
Note:
You will not see the results from the TRANSFORM on the monitor.
Use the watch file to redirect the output to a file.
Code:
&echo &watch {file_name}
turns it on
Code:
&echo &watch
turns it off