Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Team Foundation DIR (https://www.kinook.com/Forum/showthread.php?t=4016)

chrisck 04-23-2009 12:43 PM

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!

kinook 04-23-2009 01:35 PM

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

chrisck 04-23-2009 04:38 PM

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.

kinook 04-23-2009 04:48 PM

Yes, that option is available on all Run Program-derived actions (including Team Foundation).
http://www.kinook.com/Forum/showthre...?threadid=3953


All times are GMT -5. The time now is 12:09 PM.


Copyright © 1999-2023 Kinook Software, Inc.