我在文件夹 C:\Users\Drive 中有 100 个文件。我想将每个文件重命名,并在文件名开头添加后缀“D_”。
Ex: Original File name : file1.txt
After suffix name : D_file1.txt
我正在使用批处理脚本命令重命名它们
for %%a in (Users\Drive\*) do REN D_%%a.
But output is showing as D_Users\Drive\file1.txt. Not sure how to fix this.