I have this base code
Directory.GetFiles(filepath, "*.OUT")
The file path contains a file with the name Filename.OUT
The above code detects that the file is in order.
Now I will rename the file, adding a unique identifier so that the file does not receive again.
Filename.OUT6F9619FF-8B86-D011-B42D-00C04FC964FF
However, the STILL file is picked up Directory.GetFiles()!
So, is the search pattern ( *.OUT) a regular expression pattern? If so, that makes sense.
MSDN information does not seem to mean this. If not, is there a pattern that I can use so that it doesn't fit?
source
share