Batch file 如何重命名附加另一个扩展名的批处理?
由于某些原因,我不得不使用批处理文件附加另一个扩展名 递归复制文件夹,附加扩展名(ex.txt) 我的代码是Batch file 如何重命名附加另一个扩展名的批处理?,batch-file,Batch File,由于某些原因,我不得不使用批处理文件附加另一个扩展名 递归复制文件夹,附加扩展名(ex.txt) 我的代码是 @for %%f in (cs and another extensions) do ( @xcopy .\folder\*.%%f .\Exporter\*.%%f.txt /s /y ) 此代码更改扩展名。我不想改变它,我想附加.txt ex)test.cs至test.cs.txt
@for %%f in (cs and another extensions) do (
@xcopy .\folder\*.%%f .\Exporter\*.%%f.txt /s /y
)
此代码更改扩展名。我不想改变它,我想附加.txt
ex)test.cs至test.cs.txt