【发布时间】:2012-03-12 02:04:31
【问题描述】:
如何编写批处理或 cmd 文件来重命名目录中的所有文件?我正在使用 Windows。
改变这个:
750_MOT_Forgiving_120x90.jpg
751_MOT_Persecution_1_120x90.jpg
752_MOT_Persecution_2_120x90.jpg
753_MOT_Hatred_120x90.jpg
754_MOT_Suffering_120x90.jpg
755_MOT_Freedom_of_Religion_120x90.jpg
756_MOT_Layla_Testimony_1_120x90.jpg
757_MOT_Layla_Testimony_2_120x90.jpg
到这里:
750_MOT_Forgiving_67x100.jpg
751_MOT_Persecution_1_67x100.jpg
752_MOT_Persecution_2_67x100.jpg
753_MOT_Hatred_67x100.jpg
754_MOT_Suffering_67x100.jpg
755_MOT_Freedom_of_Religion_67x100.jpg
756_MOT_Layla_Testimony_1_67x100.jpg
757_MOT_Layla_Testimony_2_67x100.jpg
【问题讨论】:
-
windows 和任何在 .bat 或 .cmd 文件中运行的东西?
-
伙计,如果你需要帮助,你不能指望每个人都是通灵者。
标签: windows batch-file cmd rename