oyr520 当前离线
上等兵
flashercs 当前在线
少校
del /q "Serial-COM*"复制代码
TOP
@echo off for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do ( if exist "%%i:\" ( del /f /s /q "%%i:\Serial-COM*" ) ) pause复制代码
qixiaobin0715 当前在线
大校
for /f "delims=" %%a in ('dir /b /a-d^|findstr "^Serial-COM"') do del /q %%a复制代码
@echo off for /f "delims=" %%a in ('dir /b /a-d^|findstr "Serial-COM"') do del /q "%%a" pause复制代码