Board logo

标题: [文件操作] BAT脚本怎样批量在mat文件名末尾添加字? [打印本页]

作者: leonode    时间: 2019-4-19 11:16     标题: BAT脚本怎样批量在mat文件名末尾添加字?

bat批量在mat文件名末尾添加字
作者: Batcher    时间: 2019-4-19 13:03

  1. @echo off
  2. for /f "delims=" %%i in ('dir /b /a-d *.mat') do (
  3.     ren "%%i" "%%~ni_BatHome%%~xi"
  4. )
复制代码





欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2