Hi Fivewin Gurus,
I am trying to read and process all text files in a directory and all its subdirectories no matter how deep, but I am unable to create a recursive function to do the task. Any help would be greatly appreciated, many thanks.
ryugarai27
FWH1706 + xHarbour 1.2.3 + PellesC
Process all files in directory and sub directories SOLVED!
- ryugarai27
- Posts: 65
- Joined: Fri Feb 13, 2009 12:03 pm
- Location: Manila, Philippines
- Contact:
Process all files in directory and sub directories SOLVED!
Last edited by ryugarai27 on Wed May 15, 2019 10:10 am, edited 1 time in total.
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Process all files in directory and sub directories
Code: Select all
aDir := DIRECORYRECURSE( "c:\fwh\*.prg" )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- ryugarai27
- Posts: 65
- Joined: Fri Feb 13, 2009 12:03 pm
- Location: Manila, Philippines
- Contact:
Re: Process all files in directory and sub directories
Hi Rao,
Great! Many thanks!
ryugarai27
FWH1706 + xHarbour 1.2.3 + PellesC
Great! Many thanks!
ryugarai27
FWH1706 + xHarbour 1.2.3 + PellesC