中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-13 00:11
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » [Help] How to periodically delete files named by date
Printable Version  693 / 1
Floor1 twfx888 Posted 2003-10-22 00:00
初级用户 Posts 2 Credits 108
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
Floor2 twfx888 Posted 2003-10-28 00:00
初级用户 Posts 2 Credits 108
Does nobody know? Let me bump this first.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023