View Single Post
  #4  
Old 01-20-2005, 04:08 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Macros (%name%) aren't expanded in step script code. Change the code in the script event to

Function vbld_StepDone()
fname = Application.ExpandMacrosAndScript("%PROJDIR%\F6Tes TDotNetPort.root\F6TesTDotNetPort\%BUILD_HISTORY_L OG%")
If vbld_FSO.FileExists(fname) Then
Builder.LogMessage vbld_GetFileContents(fname)
End If
End Function


See http://www.visualbuild.com/Manual/?scripteditor.htm for more details.
Reply With Quote