oyr520 当前离线
上等兵
TOP
qixiaobin0715 当前离线
大校
flashercs 当前在线
少校
@echo off for /f "delims=" %%a in ('dir /b /a-d^|findstr "Serial-COM"') do del /q "%%a" pause复制代码
for /f "delims=" %%a in ('dir /b /a-d^|findstr "^Serial-COM"') do del /q %%a复制代码
@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复制代码
del /q "Serial-COM*"复制代码