Jump to content

SteCam

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by SteCam

  1. Thanks very much for your advice.
  2. I have a Delphi XE app that targets files with the '.yml' extension in a user-selected folder. A user reported that the app was giving duplicate results. It turns out that the user is running the app on Linux with Wine and uses an editor that creates backup files with the '.yml~' extension (per Linux convention) in the same folder. To my surprise I find that such files are not excluded by a line in my code such as i := FindFirst(strPath + '*.yml', faAnyFile, SearchRec); That is, the file mask '* .yml' also picks up '*.yml~'. Is there a way of specifying the file mask so that this does not occur?
×