创建一个批处理文件 [英] Create a batch file

查看:83
本文介绍了创建一个批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要从特定文件夹中删除长时间不使用的文件.
我想删除5天前的文件.
请帮我写一个批处理文件(.bat)

在此先感谢.

Hi,

I need to delete a files which is not used long time back from particular folder.
I want to delete files which is 5 days old.
Please help me out to write a batch file (.bat)

Thanks in advance.

推荐答案

此处有一些示例

> http://stackoverflow.com/questions/51054/batch- file-to-delete-files-old-than-n-days [
There are a few examples in here

http://stackoverflow.com/questions/51054/batch-file-to-delete-files-older-than-n-days[^]

If you Google, there are 1000''s of examples


这篇关于创建一个批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆