本帖最后由 17316234376 于 2018-12-6 16:44 编辑
- 1.
- @echo off
- setlocal enabledelayedexpansion
- for /r %%i in (*.jpg) do (
- set "name=%%i"
- move "!name!" !name: - 副本=!
- )
- pause>nul
-
- 3.
- @echo off
- for /r %%i in (*.jpg) do (
- move %%i %%~ni-修改%%~xi
- )
- pause>nul
复制代码 我也是刚学的 希望能帮助到你 |