那些有趣的小事

這世界怎麼這麼多有趣的小事?

  • Licensing
  • Thanks for your help!
  • VEGA Hunter
  • 商店
  • 我的帳號
  • 結帳
  • 購物車
  • 隱私權政策

Windows 批次改副檔名

Posted by admin on 2017-09-24
Posted in: Programming. Tagged: powershell, rename. Leave a Comment

網路上找到的都是 *.png 變成 *.jpg 這類的方法,但對於不特定副檔名 就沒轍了,我又不想下載軟體,再翻了一下,找到下面方法:

 

打開 Windows 的 powershell  (不知道怎麼打開的,這裡不是你該來的地方) ,輸入:

[pastacode lang=”markup” manual=”get-childitem%20%7C%20%25%20%7B%20rename-item%20%24_%20%22Top%20Secret%20-%20%24_%22%7D” message=”PowerShell command” highlight=”” provider=”manual”/]

 

這樣會在所有的檔名前面加上 “Top Secret – ”

所以看起來就把他改成:

[pastacode lang=”markup” manual=”get-childitem%20%7C%20%25%20%7B%20rename-item%20%24_%20%22%24_.jpg%22%7D” message=”” highlight=”” provider=”manual”/]

 

就是把目錄下 所有的檔案名稱最後都加上 .jpg

雖然前面的格式很亂,但我已經可以用 FastStone 的 imageviewer 再去做進一步的修訂了。

Posts navigation

← Magix / Sony Vegas pro 15 批次轉檔 修改
Printer Test files →
  • 近期文章

    • ODBC 檔案來源
    • windows 11 分享目錄使用無密碼帳號
    • Office Tool Plus 下載後一鍵啟動
    • 將 exe 在 windows 209 server 設定成 服務 隨開機啟動
    • 如何使用指令檔讓 MS Edge 相容模式開啟
  • 近期留言

    • 彙整

      • 2024 年 4 月
      • 2023 年 11 月
      • 2023 年 10 月
      • 2023 年 4 月
      • 2023 年 3 月
      • 2022 年 10 月
      • 2022 年 9 月
      • 2022 年 8 月
      • 2022 年 7 月
      • 2022 年 2 月
      • 2022 年 1 月
      • 2021 年 9 月
      • 2021 年 7 月
      • 2021 年 4 月
      • 2020 年 10 月
      • 2020 年 9 月
      • 2020 年 8 月
      • 2020 年 6 月
      • 2020 年 5 月
      • 2020 年 4 月
      • 2020 年 3 月
      • 2019 年 4 月
      • 2018 年 10 月
      • 2018 年 8 月
      • 2018 年 3 月
      • 2018 年 1 月
      • 2017 年 10 月
      • 2017 年 9 月
      • 2017 年 7 月
      • 2017 年 2 月
      • 2017 年 1 月
      • 2016 年 12 月
      • 2016 年 8 月
      • 2016 年 7 月
    • 分類

      • Design
      • GAME
      • IT
      • Line Rangers
      • MicroStock
      • Photo
      • Pokemon Go
      • Programming
      • Tools
      • Utility
      • VEGA CONFLICT
      • 未分類
    • 其他操作

      • 登入
      • 訂閱網站內容的資訊提供
      • 訂閱留言的資訊提供
      • WordPress.org 台灣繁體中文
    Proudly powered by WordPress Theme: Parament by Automattic.