dir >> file.txt (pipe?).

Posted by jack_666 on May 22, 2001

Hi there. I'm pretty much a beginner, but i've noticed there's a MsDos command dir >> file.txt which captures the dir output into the file.txt. Well, i'm wondering how this would be done in Delphi, but instead of capturing the dir output into a file, i'd like to know how to do this into a string. Help would be much appreciated.


Re: webmaster Guido on May 22, 2001

Have a look in DelphiLand's "Code Snips" section and look up the item "Find Files", a detailed description :)