EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Quick question about file masks...

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
Posted: 05/03/2008 03:42:28
by Federico Simonetti (Priority Standard support level)
Joined: 12/30/2006
Posts: 6


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?
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



Topic viewed 3977 times

Number of guests: 1, registered members: 0, in total hidden: 0


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!