I have multiple folders and sub folders from which I need to extract all files with extension .log. Is there any command which could be used on command prompt to do that?
The use of the word "extract" indicates a compression tool, which the rest of your question does not indicate...so what does "extract" mean in a literal sense here? Locate the files, copy them, what? That would be a good thing to know to help you.
dir /s *.log would be a great start in locating them. Doing things with them would be tougher, however.
Thanks for the quick reply. I just need to copy all the files with .log extension from a specific folder and other subfolders in it. There is no compressed archive in this scenario. Sorry for the confusion.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.