Home › Forums › HTBasic Forum › Help with using HTBFileopen.dll, please! › Reply To: Help with using HTBFileopen.dll, please!
September 17, 2021 at 8:05 am
#7443
CAT instructions could be very useful to put all the files selected with your criteria in a list :
Nb_file=0
Directory$=”D:\Calibration Measurement”
CAT Directory$;NAMES,COUNT Nb_file
!
ALLOCATE Catalog$(1:Nb_file)[80]
Selection$=”*.Cal”
!
CAT Directory$ TO Catalog$(*);SELECT Selection$,COUNT Nb_file,NAMES
!
FOR I=1 TO Nb_file
PRINT I,Catalog$(I)
NEXT I
!
PRINT
PRINT “Nb File=”;Nb_file
!
END