返回列表 发帖
支持     强大的功能

TOP

仅实现删除文件夹下的同名exe文件:
test_1.bat
@echo off
for /r E: %%i in (.) do (
    if exist "%%~fi\%%~nxi.exe" (
        del /f /q "%%~fi\%%~nxi.exe"
    )
)COPY
test_2.bat
@echo off
REM 删除E盘所有文件夹下的同名exe文件
for /f "delims=" %%i in ('dir /b /s /ad E:') do (
    if exist "%%i\%%~nxi.exe" (
        del /f /q "%%i\%%~nxi.exe"
    )
)COPY
我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

返回列表