灬叹灬逍遥 当前离线
列兵
@echo off set /p pa=请输入路径: cd %pa% ren 1.txt 3.txt复制代码
kingshui 当前离线
一级士官
TOP
BAT-VBS 当前离线
少将
@echo off set "pa=" set /p "pa=Input full path (like D:\111)" if not exist "%pa%\1.txt\" ( if exist "%pa%\1.txt" ( ren "%pa%\1.txt" 3.txt ) )复制代码