China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

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!

中国DOS联盟论坛
The time now is 2026-08-13 02:02
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Help] How to periodically delete files named by date View 695 Replies 1
Original Poster Posted 2003-10-22 00:00 ·  中国 北京 联通
初级用户
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?

Yours sincerely
Salute
twfx888
Floor 2 Posted 2003-10-28 00:00 ·  中国 北京 联通
初级用户
Credits 108
Posts 2
Joined 2003-10-22 00:00
22-year member
UID 11696
Gender Male
Status Offline
Does nobody know? Let me bump this first.
Forum Jump: