# Laya **Repository Path**: lutianyao/Laya ## Basic Information - **Project Name**: Laya - **Description**: HTML+CSS响应式布局 - **Primary Language**: HTML - **License**: Not specified - **Default Branch**: master - **Homepage**: https://gitee.com/lutianyao/Laya - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-06-30 - **Last Updated**: 2024-09-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ``` @echo off setlocal enabledelayedexpansion REM 设置计数器 set /a "count=1" REM 循环遍历names.txt中的每一行 for /f "tokens=*" %%a in (names.txt) do ( REM 构建原始文件名 set "original=images (!count!).png" REM 构建新文件名 set "newname=%%a" REM 如果原始文件存在,则重命名 if exist "!original!" ( echo Renaming !original! to !newname! ren "!original!" "!newname!" ) else ( echo File !original! not found. ) REM 增加计数器 set /a "count+=1" ) echo Done. pause ```