2017-07-13 73 views
-1

您好我想删除我的目录C即自动删除文件夹:/ gametemp因为我的游戏自动创建一个文件夹并使其窃听并不会运行,除非我删除它,有没有使用批处理文件循环自动化是检查文件夹是否制作并自动删除它?我使用Windows 7批处理命令,如果它存在

回答

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. 上面写命令指定的路径
  3. 批处理文件创建计划任务。