As part of our nightly build process, we would like to rename the prior build folder to something that contains the date & time. Eg:
c:\DEV => c:\DEV201104052300
I haven't figured out how to do this but I thought that I might be able to setup a variable with the Date/time and append that to 'DEV' which I can then use in the rename action.
In addition, I'd like to be able to delete old build folders that are older than a specified number of days.
Thanks,
Charles
Hi Charles,
Edit: Go with Steve's (below), his is a bit cleaner and doesn't resort to a script action. I'll leave mine attached just in case you want to see an different way to achieve the same time.
Cheers,
Ben
folder_demo.fbz7 (3.345 KB)
Hi Charles
I have attached a simple example that should help.
Regards,
Steve
FolderNaming.fbz7 (3.836 KB)
Thanks to both of you. I am still getting to grips with FB and of course I should re-read the help each time I think of a question as the answer is probably in there