![]() |
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-11-11 07:59 |
47,815 topics / 349,930 posts / today 0 new / 48,291 members |
| DOS批处理 & 脚本技术(批处理室) » How to use batch processing to delete files that are 7 days old |
| Printable Version 8,557 / 27 |
| Floor16 yke2000 | Posted 2008-01-04 22:07 |
| 新手上路 Posts 1 Credits 2 | |
|
Do you think I'm poor and don't have enough points? Still won't let me download
|
|
| Floor17 piaoyaoxun | Posted 2008-01-05 00:28 |
| 新手上路 Posts 1 Credits 2 | |
|
I also want to download, but how can I get points?
|
|
| Floor18 Kinkai | Posted 2008-04-23 14:56 |
| 新手上路 Posts 2 Credits 4 | |
|
Honor moderator, I tried this, and it can correctly calculate the time in the Chinese date display environment, but it doesn't work in the English date display environment. Now I'm looking at your code to understand it and write one.
|
|
| Floor19 Kinkai | Posted 2008-04-23 14:57 |
| 新手上路 Posts 2 Credits 4 | |
Originally posted by qq43142691 at 2007-6-6 04:57 PM: Honorary moderator, I tested this, it can correctly calculate the time in the Chinese date display environment, but it doesn't work in the English date display environment. Now I'm looking at your code to understand it and write one. |
|
| Floor20 yiyuncao007 | Posted 2008-07-02 14:08 |
| 初级用户 Posts 45 Credits 110 | |
|
Can FORFILES be used in XP?
|
|
| Floor21 yiyuncao007 | Posted 2008-07-02 14:10 |
| 初级用户 Posts 45 Credits 110 | |
|
No matter if it works or not, I'll just collect it first and talk about it later
|
|
| Floor22 yuehong | Posted 2008-07-16 11:06 |
| 初级用户 Posts 37 Credits 64 | |
|
FORFILES is good, but it can't be used under 2000!!!
|
|
| Floor23 zzyy1919 | Posted 2010-07-01 18:42 |
| 新手上路 Posts 1 Credits 1 | |
| Floor24 dooomer | Posted 2010-07-01 23:34 |
| 初级用户 Posts 52 Credits 109 | |
|
Most people probably have WinRAR installed on their machines. WinRAR comes with a command - line version called RAR, which supports packing files that are earlier than or later than a specific point in time, and then can automatically delete the source files. Then, you can use the delete command in the batch file to delete the generated RAR archive, and that's it.
|
|
| Floor25 ddddwee | Posted 2010-08-10 18:54 |
| 新手上路 Posts 1 Credits 1 | |
|
Thanks
|
|
| Floor26 ppkspk | Posted 2010-08-11 21:59 |
| 新手上路 Posts 3 Credits 3 | |
| Floor27 qinanzong | Posted 2010-08-13 10:41 |
| 初级用户 Posts 18 Credits 29 | |
|
Used FORFILES, I'm not very familiar with this command, let's take a look
|
|
| Floor28 cxbstc | Posted 2010-08-16 09:52 |
| 新手上路 Posts 1 Credits 1 | |
|
I'm looking for this!
|
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |