Being an easy and powerful tool, batch processing played an important role in computer routine management. This paper introduces the method of using batch processing and VBS to achieve directory regular clean. Firstly, using the DOS command and VBS write processing code, form a batch program, and then through the windows scheduled tasks timing clean data automatically. Practice shows that, this method can effectively improve the work efficiency, reduces the maintenance workload.%批处理以其易用、功能丰富的特点,在计算机日常管理中发挥着重要作用.本文介绍了利用批处理命令和VBS实现按目录定时清理数据的方法.先利用DOS命令和VBS编写处理代码,形成批处理程序,然后通过Windows计划任务定时自动清理数据.实践表明,该方法有效提高了工作效率,减少了维护人员的工作量.
展开▼