Rename all .html to .htm using DOS command

If we need to rename all .html to .htm, we can use DOS command: ren

For example, we need to rename all the .html files under E:\dns\aagg,

we need to usd cd to change the directory, to E:\dns\aagg

then we use ren *.html *.htm
OK