如何使用CMD大量更改副檔名

#1.在CMD中輸入以下指令 :

Rename X:\XXXX\*.jpg(.被改的副檔名) *.png(.要改成的副檔名)

#2.建立bat自動執行檔 :

rename *.jpg(.被改的副檔名) *.png(.要改成的副檔名)

  • 方法(2)可先用檔案總管搜尋出所有需要更改副檔名的檔案,接著將檔案拖曳至bat,進行自動更改
  • 從實驗結果可知,方法(1)的執行速度比方法(2)快上許多

Written by

Machine Learning / Deep Learning / Python / Flutter cakeresume.com/yanwei-liu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store