匹配文件夹怎么样呢? 能配上多少就多少!- @echo off
- for /f "tokens=2 delims==" %%i in ('wmic datafile where "extension='exe' and path like '%%\\Thunder\\Components\\InMedia\\%%' and filename='ThunderMinisite'" get name/value 2^>nul') do call echo del "%%i"
- for /f "tokens=2 delims==" %%i in ('wmic datafile where "extension='exe' and path like '%%\\Thunder\\Components\\Tips\\%%' and filename='tipsextend'" get name/value 2^>nul') do call echo del "%%i"
- pause
复制代码
|