<div dir="ltr"><div>Dear All,</div><div></div><div><br></div><div>I need to find and list all files of a specific type on my hard drive....How to do that in the most elegant way?</div><div></div><div><br></div><div>E.g.: <br></div><div><br></div><div>- find all *.txt files in "D:\"</div><div></div><div>- also find all '*.txt' files in each sub - directory, sub-sub-directory, ..etc<br></div><div>- create a list that stores the absolute path names to the *.txt files.</div><div><br></div><div>I am aware of</div><div>- dir</div><div>- findfiles</div><div>- listfiles</div><div>- ls<br></div><div><br></div><div>But they only seem to list the files in a dedicated folder.</div><div><br></div><div>Is there a function, that also searches all sub-folders automatically?</div><div><br></div><div></div><div>Thank you,</div><div>Philipp<br></div><div><br></div><div><br></div><div><br></div></div>