I am trying to write a batch file that will be scheduled to run once daily in order to rename a constantly growing datafile to ddmmyy.txt. I would like to use the DOS system DATE variable but need to know how to manipulate the string from dd/mm/yyyy format to ddmmyy. Is there an easy way of doing this or can somebody point me in the right direction?