How to use FindFirst, FindNext ?
Does anybody know how to use FindFirst and FindNext instructions ?
If I use this:
FindFirst ${Handle} ${FileName} *.*
it returns all files and directories including "." and ".."
1) What can be used as "filespec" ? Documentation is very brief.
2) How do I distinguish files from directories ?
3) Can I get only files or files+directories without "." and ".." ?
4) How can I search for file in certain directory and its subdirectiories ? (can FindFirst and FindNext be used for this purpose?). This would be very usefull - at least for me :-)