中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 11:51
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Question from a newbie? Experts please help
Printable Version  1,838 / 3
Floor1 chenhao2010 Posted 2010-07-26 14:10
初级用户 Posts 12 Credits 24
I'm a very clueless newbie, haha.
Question: I just want to change the extensions of all files inside all folders in a folder on my D drive from .HTM to .TXT
Please give a detailed explanation so a newbie like me can learn. Thanks
Floor2 DOSforever Posted 2010-07-26 19:23
金牌会员 Posts 2,239 Credits 4,639
First enter this directory, then

ren *.HTM *.TXT
Floor3 HAT Posted 2010-07-26 23:19
版主 Posts 5,017 Credits 9,023
If you want to include subfolders, you can use for + dir /s + ren
Floor4 chenhao2010 Posted 2010-07-27 08:51
初级用户 Posts 12 Credits 24
RENAME D:\ABC\ folders represented here\*.htm *.txt
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023