     C++,  C++Builder, API Windows________________867

{

SetCurrentDir(sr.Name);

ButtonlClick(Sender) ;

SetCurrentDir(CurDir) ;

1
}
I
FindClose(sr);

}

        -
  .

   ,  , -
  findfirst  findnext.     
    ffblk:

struct ffblk {

long           ff_reserved;

long           ff fsize;       //  
unsigned long ff_attrib;      // 
unsigned short ff_ftime;       //  
unsigned short ff_fdate;       //  
char           ff name[256];   //  

  ff_attrib       FA_.,
   dos.h     14.12.1.  ff_ftime 
ff_fdate      .   ff_ftime  0  4 -
  ,  5  10  ,  11  15  .  
ff_fdate  0  4  ,  5  8  ,  9  15  , -
  1980.

   ,   findfirst  findnext,  -
      FindFirst  FindNext.

 FileSearch     DirList  Name.  Dir-
List         -
,    .     
       (     , -
   ).    ,   .

 searchpath   file   ,   -
  PATH.       NULL.

 FileExists ,    .

 fnmerge   path       -
:  drive,  dir,   name   ext. 
    drive:\path\name.ext.   
 (dir, path, name, ext)     NULL.   -
     .  fnsplit  -
 :        .

 DirectoryExists ,    Name. 
Name   ,      -
.    Name      -
.

 CreateDir  ForceDirectories     
 Dir.  ForceDirectories     
,        ,     -
 ,   . , 

ForceDirectories(":\\Test\\Testl")

28*