使用for each 控件,in 里面使用Directory.GetFiles(“your directory”);
然后Body 里面拖if 控件,
if表达式:foreach的item.ToString.Method[注:method很多要用的自己找点“.”一下就会出来,比如endwith,contains等等]
如果你要多个判断条件关键字Or 或者 And.
如果你要删除文件就在Then里面使用delete控件。
右边的File——path:item.ToString
-------------------------------------------------------------------catch--------------------------------------------------------------------
catch捕捉全局异常的类是System.Exception。也有可能不对,因为我只捕捉到了我的异常。欢迎留言。