Sixpack, The code you provided is exactly what I'm looking for except that I cannot get it to work - I end up with 2005-06-%D2%. I'm afraid I know practically no DOS and I'm really just looking for the simplest way to call a file by the current date, in the format yyyymmdd. I didn't understand the coding eg "~-4,10" so couldn't work it out for myself! Can anyone help me? Thanks!