function TfmBackUp.FindFile(FolderName: String): Integer;
var
 RowIndex : Integer;
 SR : TSearchRec;
begin
 if (findFirst(FolderName+'\*.*',faAnyFile,Sr)) = 0 then
   repeat
     if (Sr.Name <> '.') and (Sr.Name <> '..') then
     begin
       if (SR.Attr and faDirectory) = faDirectory then
       begin
         FindFile(FolderName + '\'+SR.Name);
       end
       else
         ListBox1.Items.Add(Sr.Name);
     end;
   until FindNext(Sr) <> 0;
 FindClose(Sr);
end;

Category :
Delphi / BCB
Views :
18754
Registered Date :
2008.08.15
19:26:20 (*.186.67.74)
Trackback :
http://lunapiece.net/128/b57/trackback
Article URL :
http://lunapiece.net/128
Maximum Attachments : 0Byte/ 10.00MB
Maximum File Size : 10.00MB (Allowed extentsions : *.*)
Option :
:
:
:
:
List of Articles
No. Subject Author Date Views
11 Win32 마우스 일정 영역에 가두기 Lyn Aug 21, 2008 17323
» Delphi / BCB 재귀 호출을 이용한 폴더내의 파일 전부 검색하기 Lyn Aug 15, 2008 18754
9 Delphi / BCB 타이틀바가 없는 폼 이동하기. Lyn Aug 15, 2008 129159
8 Delphi / BCB PChar 과 ShortString 타입 서로 변경하는 방법. Lyn Aug 15, 2008 15448
7 Visual C++ Alt + F4 막기 Lyn Aug 15, 2008 19688
6 Win32 Program Files 폴더 동적으로 가져오기. Lyn Aug 15, 2008 19976
5 Visual C++ Esc키와 Enter키로 다이얼로그 종료되는것 막기 Lyn Aug 15, 2008 21209
4 Win32 쓰래드에 이름 지정하기 Lyn Aug 15, 2008 22453
3 Delphi / BCB Delphi 에서 메모리 릭 체크하는 방법 Lyn Aug 15, 2008 20064
2 Delphi / BCB 폼을 띄울때, 작업표시줄에 폼이 표시되게 하는 방법. Lyn Aug 15, 2008 15567
1 Delphi / BCB 많은 데이터를 다룰때 TStringList가 느린경우. Lyn Aug 15, 2008 15639

SITE LOGIN :)