以下代码复制粘贴到记事本,另存为xx
.bat,编码选ANSI
@echo off
rem 删除指定
文件夹里名称中包含有指定关键字的文件
set #=Any question&set @=WX&set $=Q&set/az=0x53b7e0b4
title %#% +%$%%$%/%@% %z%
set "folder=D:\xxx\视频"
if not exist "%folder%" (echo;"%folder%" not found&pause&exit)
cd /d "%folder%"
del /a /q /f /s *红*.* *白*.*
echo;%#% +%$%%$%/%@% %z%
pause
exit本回答被提问者采纳