@echo off
:start
@echo please pull in your python project root directory:
@set /p dir_path=
@if not exist "%dir_path%" echo.directory not exit!&goto :start
@echo please input delete suffix
@set /p del_ex=
@echo delete directory in %dir_path% with %del_ex% suffix
del %dir_path%\*.%del_ex% /f /s /q /a
@pause
windows:用bat脚本删除指定后缀的文件
最新推荐文章于 2024-07-26 17:16:18 发布