#1
|
|||
|
|||
Project VBScript Stopped working
I've been using Project script code that I'm pretty sure I sliced out of one of the examples, to search for the existence of a log file and delete it if it exists. Anyway it worked great and then stopped. I've had to comment it out and make sure that I physically delete it prior to the build.
' delete the file if it exists 'If vbld_FSO.FileExists(logFile) Then 'MsgBox "Deleting log file '" + logFile + "' from vbld_BuildStarting event (go to Script Editor, " + _ '"Project tab to view script code)." ' vbld_FSO.DeleteFile logFile, True 'End If Any ideas? -CN |
Thread Tools | |
Display Modes | Rate This Thread |
|
|