1 (edited by mathmathou 2017-08-21 04:21:36)

Topic: Parsing Files and Directories

Hello Dmitry and al MVD fans,


The following instructions

GetDirectories(,)

GetFilesList(,)

as long as you provide an path and a search pattern, let you build a list of files recursively, as well as a list of directories ans subdirectories which is great.


Is there a way to limit the number of levels that the instruction will use like for example just 1 or 2 levels of recursion ?


Also, when using :

GetFilesList(path,'*.*');

you can replace the *.* by *.zip, or *.exe but only one at a time?
is the a way we could do something like :

GetFilesList(path,'*.zip;*.exe;*.jpeg');


Cheers


Mathias

I'm a very good housekeeper !
Each time I get a divorce, I keep the house

Zaza Gabor

Re: Parsing Files and Directories

Hello.


There is no function with these possibilities.

Dmitry.

Re: Parsing Files and Directories

Thanks for your answer Dmitry,


I'll find another way to proceed smile


Cheers


Math

I'm a very good housekeeper !
Each time I get a divorce, I keep the house

Zaza Gabor