±ÍÇÏ´Â ¼Õ´Ô À̽ʴϴÙ
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ
  
  µ¨¸¶´ç °ø½Ä ÀºÇà°èÁÂ
  ÇϳªÀºÇà 227-910235-83607
  ¿¹±ÝÁÖ ÀÌ»ó±¹(¿î¿µÁø)
ÇÁ·ÎÁ§Æ® °Ô½ÃÆÇ
ÅõÇ¥°Ô½ÃÆÇ
µ¨¸¶´ç¼Ò°³
±âÃʺÎÅÍ È°¿ë±îÁö! µ¨ÆÄÀÌ ±³À° - µ¥ºê±â¾î
°­ÁÂ, ÆÁ, Á¤º¸ °­ÁÂ, ÆÁ, Á¤º¸ ÀÔ´Ï´Ù.
±Û³»¿ë - °­ÁÂ, ÆÁ, Á¤º¸
 µ¨ÆÄÀÌ ÆÄÀÏ °Ë»ö 
¾ö¸¶À÷Èë¸Ô¾î
(¹Ú¼º°ü)
2019-03-26 ¿ÀÀü 1:43:15
Ä«Å×°í¸®: ÆÁ
8422ȸ Á¶È¸



µî·ÏµÈ ÆÄÀÏÀÌ ¾ø½À´Ï´Ù.

http://docwiki.embarcadero.com/Libraries/Rio/en/System.IOUtils.TDirectory.GetFiles

 

 

 

uses
  System.Types,
  System.IOUtils;

 

 

procedure FileSearch(var Files: TStringList; Path: String; Mask: String = '*');
var
  S: String;
begin
  for S in TDirectory.GetFiles(Path, Mask, TSearchOption.soAllDirectories) do
    Files.Add(S);
end;

 

 

var
  slist : TStringList;
begin
  slist := TStringList.Create;
  FileSearch(slist, 'D:\Temp', '*.bat');
  ShowMessage(slist.Text);

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

¾Æ½±°Ôµµ  '*.bat;*.exe' ÀÌ·±½ÄÀ¸·Î ´ÙÁß°Ë»öÀº ¾ÈµË´Ï´Ù.

´ÙÁß°Ë»öÀÌ ÇÊ¿äÇϽźÐÀº ¾Æ·¡ÀÇ ¸µÅ©¸¦ Âü°í Çϼ¼¿ä.

 

 

 

 

 

 

 

 

 

 

 

 

https://stackoverflow.com/questions/12726756/how-to-pass-multiple-file-extensions-to-tdirectory-getfiles