LoginSignup
0
1

windowsコマンドでフォルダ内の全ての.htmlを.phpに再帰的に変更する

Posted at

記事タイトルのままです。備忘録。

手順

1.コマンドプロンプトで該当フォルダに移動

2.以下のコードを実行

for /r %x in (*.html) do ren "%x" *.php

結果

フォルダ内の全ての.htmlを.phpに再帰的に変更される。
(ChatGPTちゃんありがとう!)

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1