Hi all
xHarbour documentation implies that you add "D" as the second parameter to the call to the Directory() function. This doesn't work. I tried "d" but that didn't work either. Anyone know how?
Thanks
xProgrammer
How to get directories included in Directory()
- xProgrammer
- Posts: 464
- Joined: Tue May 16, 2006 7:47 am
- Location: Australia
- xProgrammer
- Posts: 464
- Joined: Tue May 16, 2006 7:47 am
- Location: Australia
Re: How to get directories included in Directory()
aDir := Directory("/home/", "D",, .t.)
for i := 1 to len(aDir)
if aDir[i, 5] == "D"
? "Directory"
else
? file
endii
next
for i := 1 to len(aDir)
if aDir[i, 5] == "D"
? "Directory"
else
? file
endii
next
FWH User
FWPPC User
FWLinux User
FWPPC User
FWLinux User