Answer the question
In order to leave comments, you need to log in
How to run command in subdirectories using bat file?
There is a batch file that should go through all the folders (folder names are always different) that are in the same directory with it, and in each folder call the command "html-to-text < index.html | html-to-text > index .txt".
Answer the question
In order to leave comments, you need to log in
FOR /R %%F in (*.*) do ECHO %%F
go to the folder and call the command
@FOR /R %%i IN (*index.html) DO ( CD %%~pi
html-to-text < index.html | html-to-text > index.txt )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question