安全问答

安全问答是一个知识全球问答,包含丰富的问答知识

首页 常规 游戏 娱乐 科技

编写一个批量重命名批处理

  • 日期: 2026-09-29 19:44:08
  • 标签: 教育

@echo off

set /p prefix=请输入前缀名称: set /p suffix=请输入后缀名称: set /p ext=请输入文件扩展名(不含点号):

for %%i in (*.%ext%) do ( ren "%%i" "%prefix%%%~ni%suffix%.%ext%" )

echo 批量重命名完成。 pause>nul

编写一个批量重命名批处理

原文地址: https://www.cveoy.top/t/topic/yZV 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录

  • 上一篇: 对数智时代的概述与作用
  • 下一篇: Please read this Handbook and these employee/contractor Standards of Conduct carefully to understand these conditions of employment before you sign this document. 这句话中conditions of employment是什么意思

© 2019 • 2025 - 安全问答 站长邮箱:wxgpt@qq.com    ICP备案/许可证号:豫ICP备2024104334号-2