EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Quick question about file masks...

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#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 (Team)

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 4477 times

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




|

Back to top

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

Got it!