When we create a new release of our product we need to automate the creation of a directory structure ie
Project Settings\OutputFolder
I:\ComReleases\projectx\#CurrentYear#\0#CurrentMon th#\#ISODate#
What we need however is to create a Month directory like ....\01-Jan\...
At present the #CurrentMonth# is a single digit ie 1 for Jan and 11 for November. To make this a double digit like the #CurrentMinute# is would enable the directory structure to be sorted in a logical manner.
We fudged this by putting ..0#CurrentMonth# to give 01, but this would require changing after September.
Is there a way of returning ..\01-Jan\.. to create the directory structure for us automatically without 'hard coding' it, or creating a Designtime constant for 'Jan' eyc which would require changing each month?
Perhaps in a future release the #CurrentDay#, #CurrentHour#, #CurrentMonth# could be made two digit, and a new Constant #CurrentMonthText# to give a 3 letter month, would be invaluable to us.
John
Project Settings\OutputFolder
I:\ComReleases\projectx\#CurrentYear#\0#CurrentMon th#\#ISODate#
What we need however is to create a Month directory like ....\01-Jan\...
At present the #CurrentMonth# is a single digit ie 1 for Jan and 11 for November. To make this a double digit like the #CurrentMinute# is would enable the directory structure to be sorted in a logical manner.
We fudged this by putting ..0#CurrentMonth# to give 01, but this would require changing after September.
Is there a way of returning ..\01-Jan\.. to create the directory structure for us automatically without 'hard coding' it, or creating a Designtime constant for 'Jan' eyc which would require changing each month?
Perhaps in a future release the #CurrentDay#, #CurrentHour#, #CurrentMonth# could be made two digit, and a new Constant #CurrentMonthText# to give a 3 letter month, would be invaluable to us.
John
Comment