Hi,
With this first command
aDir := DIRECTORYRECURSE( "*.*" )
I do not load into aDir array files without extensions
in this way instead
aDir := DIRECTORYRECURSE( "*" )
all files are loaded
Is it normal?
best regards
marco
#include "Directry.ch"
FUNCTION MAIN()
LOCAL aDir := DIRECTORYRECURSE( "*.*" )
LOCAL i
FOR i = 1 TO LEN( aDir )
? aDir[ i, F_NAME ]
NEXT
INKEY( 0 )
RETURN NIL
MarcoBoschi wrote:frose,
please try these two different commands from any folder in any volume
DIR *.* /S
DIR * /S
and count the files listed
note that the numbers of files listed are the same.
In a program these two different ways to call the same function
aDir := DIRECTORYRECURSE( "*.*" )
aDir := DIRECTORYRECURSE( "*" )
return different array if are present files without extension
Something is not working and
EMG confirms that in the latest version this problem has been fixed
bye
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Marc Venken, Silvio.Falconi and 105 guests