您好我想删除我的目录C即自动删除文件夹:/ gametemp因为我的游戏自动创建一个文件夹并使其窃听并不会运行,除非我删除它,有没有使用批处理文件循环自动化是检查文件夹是否制作并自动删除它?我使用Windows 7批处理命令,如果它存在
-1
A
回答
0
https://www.howtogeek.com/201930/how-to-automatically-delete-files-in-your-download-folder-on-a-schedule/ ...这是前还是我尝试了很长一段时间,希望是有用的:)
0
RMDIR [/S] [/Q] [drive:]path RD [/S] [/Q] [drive:]path
/S Removes all directories and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.
/Q Quiet mode, do not ask if ok to remove a directory tree with /S
这是在命令提示符处用于删除目录的一般程序,这是孩子。
- 让你的电脑上的批处理文件。
- 上面写命令指定的路径
- 批处理文件创建计划任务。
相关问题
- 1. 批处理如果存在命令
- 2. 将命令的结果保存在变量中,Windows批处理
- 3. 使用批处理命令
- 4. 多个批处理命令
- 5. Appserv命令行批处理
- 6. DOS批处理命令
- 7. 批处理命令错误
- 8. 批处理命令解释
- 9. 批处理文件命令
- 10. 管道批处理命令处理
- 11. 批处理文件命令/处理
- 12. 批处理文件重命名我想保存,如果它存在
- 13. “如果存在”命令在Windows批处理脚本中如何工作?
- 14. 如果存在批处理不工作
- 15. 批处理脚本(如果存在)xcopy
- 16. 批处理文件 - 如果存在*。*
- 17. 批处理,如果存在错误
- 18. 转义“)”在Windows批处理“的命令
- 19. 在jenkins中运行批处理命令
- 20. 重命名文件的批处理脚本(如果存在)
- 21. 问:如果批处理脚本中存在/如果不存在
- 22. cmd中的批处理命令与批处理文件
- 23. 批处理文件显示批处理命令
- 24. 批处理脚本如果其他命令
- 25. 如果其他批处理命令与ipconfig
- 26. 使用&如果批处理文件命令
- 27. 批处理命令:如果IF包含.pdf
- 28. 如果空闲时自动退出批处理的命令?
- 29. 是否存在命令在批处理文件不工作
- 30. 在windows中批处理命令输出的解析结果