Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-24-2005, 11:59 AM
Royce Royce is online now
Registered User
 
Join Date: 06-09-2005
Posts: 3
How to Output to a file.

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>
Reply With Quote
  #2  
Old 06-24-2005, 02:13 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Prefix the command with %DOSCMD% . See http://www.visualbuild.com/Manual/?runprogramaction.htm for more details.
Reply With Quote
  #3  
Old 06-24-2005, 02:46 PM
Royce Royce is online now
Registered User
 
Join Date: 06-09-2005
Posts: 3
Thanks!

Thanks! That did it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:24 AM.


Copyright © 1999-2023 Kinook Software, Inc.