Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-23-2009, 12:43 PM
chrisck chrisck is online now
Registered User
 
Join Date: 04-23-2009
Posts: 2
Team Foundation DIR

I need to do a DIR of some Team Foundation Server projects and have the results piped out to text files. Currently when I do the DIR it returns the information to the Output window.

If I use the 'Additional Command-line Options' under the 'Options' tab, and type in a > some.txt, it only gives an error because this inserts this command as a switch and not at the end of the command.

How can I get the output directed to a specific file?

Thank you!
Reply With Quote
  #2  
Old 04-23-2009, 01:35 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
On the Advanced tab, enter %DOSCMD% in the Command to run before main command field so that the tf command runs under a cmd shell (enabling redirection).
http://www.kinook.com/VisBuildPro/Ma...dvancedtab.htm
Reply With Quote
  #3  
Old 04-23-2009, 04:38 PM
chrisck chrisck is online now
Registered User
 
Join Date: 04-23-2009
Posts: 2
Thank you for the reply!

I was actually wondering about the Team Foundation Server 'Action' in Visual Build. Is there a way to get this functionality using the built in Team Foundation Action? I already have it working using the 'Run Program' Action, but was looking to have all of my TFS steps done thru their respective Visual Build Action.

Thank you.
Reply With Quote
  #4  
Old 04-23-2009, 04:48 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Yes, that option is available on all Run Program-derived actions (including Team Foundation).
http://www.kinook.com/Forum/showthre...?threadid=3953
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 09:45 AM.


Copyright © 1999-2023 Kinook Software, Inc.