Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 08-14-2006, 12:18 PM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
I got the code to work it is the way you where eval the log file.


' delete the file if it exists
If vbld_FSO.FileExists(Application.ExpandMacros("%log File%")) Then
MsgBox "Deleting log file '" + "%logFile%" + "' from vbld_BuildStarting event (go to Script Editor, " + _
"Project tab to view script code)."
vbld_FSO.DeleteFile Application.ExpandMacros("%logFile%"), True
MsgBox("Found It, deleted!!!!")
Else
MsgBox("Did not Find It")
End If
Reply With Quote
 


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 11:35 AM.


Copyright © 1999-2023 Kinook Software, Inc.