摘要: 扫描文件夹获取目录 //scandir方法 $arr = array(); $data = scandir('./Uploads/ipcai/'); foreach ($data as $value){ if($value != '.' && $value != '..'){ $arr[] = $v 阅读全文
posted @ 2021-10-15 16:01 鲨鱼大王 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 编写.bat文件 @echo off set a=0 setlocal EnableDelayedExpansion dir /b .\*.png | find /c /v "" >> .\tmp.txt set /p c=<.\tmp.txt del /a /f /q .\tmp.txt for 阅读全文
posted @ 2021-10-15 14:41 鲨鱼大王 阅读(24) 评论(0) 推荐(0) 编辑