Software Development Network>> Visual FoxPro>> How to get filenames inside a folder.
Look at the ADIR() function in the help file. It fills an array with filenames in a directory.
If you use a version before VFP 9.0 you may hit array limits in big directories (10,000 files or so).
You can also use WSH if you wish. Look at the FSOTree function by the late Ed Rauh [MVP] in:
http://fox.wikis.com/wc.dll Wiki~WindowsScriptingHost
How to get filenames inside a folder.
JuniorBR
Look at the ADIR() function in the help file. It fills an array with filenames in a directory.
If you use a version before VFP 9.0 you may hit array limits in big directories (10,000 files or so).
You can also use WSH if you wish. Look at the FSOTree function by the late Ed Rauh [MVP] in:
http://fox.wikis.com/wc.dll Wiki~WindowsScriptingHost