PDA

View Full Version : How to Output to a file.


Royce
06-24-2005, 11:59 AM
This writes to a file at a command prompt:
svnadmin lstxns C:\records\svn_data\repositories\link > C:\Temp\txns.txt

The following does writes to the console instead of the file. How can I make it go to the text file designated by %TEXT_FILE%?

<step action='Run Program' type='0'>
<command><![CDATA[svnAdmin lstxns C:\records\svn_data\repositories\%Repository_Name% > %TEXT_FILE%]]></command>
<description>Calls svnadmin to create a new list</description>
<indent type='3'>1</indent>
<name>Create New Transaction List</name>
<outputfrom type='3'>1</outputfrom>
</step>

kinook
06-24-2005, 02:13 PM
Prefix the command with %DOSCMD% . See http://www.visualbuild.com/Manual/?runprogramaction.htm for more details.

Royce
06-24-2005, 02:46 PM
Thanks! That did it.