View Full Version : Date-specific logfile
dsmith
03-23-2004, 12:16 PM
How can I get a datetime-specific logile something like:
log04012004-0402.log
Under project properties I tried:
%PROJDIR%\%PROJROOT%%[vbld_FormatDate()]%.log
but the VBScript did not resolve. Any ideas?
Doug
kinook
03-23-2004, 01:33 PM
That works here. Hold down Shift when mousing over the field to cause the script to be evaluated for the tooltip.
dsmith
03-23-2004, 01:39 PM
I tried:
%PROJDIR%\%PROJROOT%%[vbld_FormatDate]%-%[vbld_FormatTime]%.log
and held down SHIFT key and it worked. thanks.
kinook
03-23-2004, 01:43 PM
I didn't notice the extra percent signs you had. Those should be removed:
%PROJDIR%\%PROJROOT%[vbld_FormatDate()].log
%PROJDIR%\%PROJROOT%[vbld_FormatDate]-[vbld_FormatTime].log
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.