View Single Post
  #2  
Old 01-20-2005, 03:28 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Put the following in the 'Additional command-line options' field on the SourceSafe action's Options tab:

"-O&c:\out.txt"

This will redirect the output to the file specified [1]. Then add the following in the step's script code (Script Editor button | Step tab) to also get the contents logged in the build:

Function vbld_StepDone()
If vbld_FSO.FileExists("c:\out.txt") Then
Builder.LogMessage vbld_GetFileContents("c:\out.txt")
End If
End Function

http://msdn.microsoft.com/library/de...ne_SwitchO.asp
Reply With Quote