If you look at Adam's example, he's using a RIGHT function in conjuction w/ the leading zero to format the date.
@[User::SharePath] +RIGHT("0" + (DT_STR,4,1252) DatePart("yyyy",getdate()),4)+Right("0" + (DT_STR,4,1252) DatePart("m",getdate()),2) +Right("0" + (DT_STR,4,1252) DatePart("d",getdate()),2) + ".txt"
i.e.
20080301 vs. 200831
Tommy
Follow @sqlscribe