Link to home
Start Free TrialLog in
Avatar of crchambers
crchambers

asked on

Renaming multiple files in multiple directories using ms-DOS

I would like to change multiple .asp file extensions to .html.

I have thousands of files and many directories. I would like to change all the .asp file extensions in the entire site at once.

I know you can use the ren command in ms-dos to rename all  files in the directory (i.e. ren "*.asp" "*.html") but this  only works in one directory. How can I have it rename files in subdirectories and sub-subdirectories too?
SOLUTION
Avatar of Nirmal Sharma
Nirmal Sharma
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of crchambers
crchambers

ASKER

I ended up just doing it the old-fashioned way.... manually. Thanks for everybody's input.