Hi Ciro,

You need to add the attribute flag to fileseek( file, flag )

     0 Normal
     1 Read only
     2 Hidden
     4 System
     8 Volume
     16 Directory
     32 Archived


cFile:=FILESEEK("C:\autoexec.bat", 2) for just hidden. OR value to get just what you want.


hi all:

this program don't work ok if the file is hide


cFile:=FILESEEK("C:\autoexec.bat")
? cfile

DO  WHILE .NOT. EMPTY(cFile)
  ? cFile,FILEATTR()
    cFile:=FILESEEK()
 ENDDO
quit

best regards
Ciro


--
http://sistemascvc.tripod.com (la casa del clip2win y nodosimp / the no2imp and clip2win home )

http://www.oohg.org ( Object Oriented Harbour GUI, more simple, more powerfull )


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to