如何创建按计划删除文件夹的批处理脚本? [英] How do I create a batch script that will delete a folder on a scheduled basis?

查看:35
本文介绍了如何创建按计划删除文件夹的批处理脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建将按计划删除文件夹的批处理脚本?

How do I create a batch script that will delete a folder on a scheduled basis?

推荐答案

编写批处理脚本删除文件

Write a batch script to delete the file

rd <YOURDIR>

然后在 Windows 任务中安排它.

and then schedule it in Windows Tasks.

这篇关于如何创建按计划删除文件夹的批处理脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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