Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 108 Posts 2 Joined 2003-10-22 00:00 22-year member UID 11696 Gender Male
Status Offline
I back up data every day and upload files to the NAS server. The filenames are all named using the date: %date:~4,10%.dum。 But space is limited, and I only want the files to be kept for about a week. How can I write a batch file to automatically delete those files that are older than that time?