Am evaluating FB as a replacement for QSC TC Builder. However, I seem unable to do something as simple as setting a file’s Date/Time from a project variable. Looking at the File & Directories action list, I don’t see a SetFile/Folder date/time action. Am I missing something obvious?Andrew
ok, using:
Action.DateTime = Cdate(variable)
in the TouchFile BeforeAction EH does the trick. Very strange that this isn’t a standard action though!
Ah, but it only works for one file (or a wildcard set). Anyone know how to make it work for a number of non-wildcard files?Thanks
Hi Andrew
You can use the Touch action to set the file date and/or time.
Hi Vincent,Yes, I found the Touch action thanks. Is there a way of setting the date/time for a number of files with different names and extensions using one Touch action - rather than having to use one action per file?
Define a fileset and then use a File Iterator to iterate through the fileset and add a Touch action as a child of the Iterator. The Iterator allows you to specify a variable to hold the current filename which can then be used with the Touch Action. We will lok into adding FileSet support directly to the Touch action in the future (will improve performance).
Thanks Vincent. Will try that out. An enhanced Touch action to do this would be great.Regards…Andrew