EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Quick question about file masks...

Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
#6091
Posted: 05/03/2008 03:42:28
by Federico Simonetti (Priority Standard support level)
Joined: 12/30/2006
Posts: 6

Hello,

what if I want ALL text files under a certain directory and all subdirectories?

Say C:\MyDocuments\*.txt

but also C:\MyDocuments\subdir\*.txt (and so on...)

Can I do this with a single file mask? It would be useful so I don't have to keep track of new directories being created... is there a way to do this?
#6093
Posted: 05/03/2008 06:11:00
by Eugene Mayevski (EldoS Corp.)

Mask matching in CallbackFilter corresponds to the rules used in DOS and Windows - if the mask contains the path, this path is matched as it is spcified, without expanding to subdirectories.

What you can do is watch *.txt and perform path comparison in your code.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 3634 times

none




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!