A
A
arepository2019-01-25 15:23:55
cmd/bat
arepository, 2019-01-25 15:23:55

How to create a copy of .html files with .txt extension using bat file?

For example, there is
1.html
2.html
3.html
so that
1.html
1.txt
2.html
2.txt
3.html
3.txt

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2019-01-25
@arepository

copy *.html *.txt

E
Emil Revencu, 2019-01-25
@Revencu

forfiles /S /M *.html /C "cmd /c copy @file @fname.txt"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question