Adding date to the captured wim file in mdt two
Johan Arwidmark wrote a great post on how to create a wim file with the date in the name. That’s great but I want a zero in front of month or date with only one digit.
Johan’s post shows
BackupFile=%TaskSequenceID%_#year(date) & "-" & day(date) & "-" & month(date)#.wim
If you add this to the CustomSettings.ini
BackupFile=%TaskSequenceID% # year(date) & "-" &Right("0" & month(date),2)& "-" &Right("0" & Day(date),2)#.wim
You get this output.
/Johnny