Sign in to follow this  
Followers 0
speedy6

Recursevly Dir

8 posts in this topic

How can I scan in a predifined dir all the files. And get on each file the complete path...

Thanks

Share this post


Link to post
Share on other sites

Hi,

Look at the link to _FileListToArray in my signature; links to a zip with examples..

Best, randall

Thx :)

Share this post


Link to post
Share on other sites

How can I scan in a predifined dir all the files. And get on each file the complete path...

Thanks

When I try to filter on xml, and xsl

He filter on xml, but xsl-files are not inclusive... ?

$files = _FileListToArray3($patchmsn2,'xml;xsl',1,1);

Share this post


Link to post
Share on other sites

When I try to filter on xml, and xsl

He filter on xml, but xsl-files are not inclusive... ?

$files = _FileListToArray3($patchmsn2,'xml;xsl',1,1);

Hi,

Did you try pipes as in example script? '*.xml|*.xms'?

Best, Randall

Share this post


Link to post
Share on other sites

Hi,

Did you try pipes as in example script? '*.xml|*.xms'?

Best, Randall

Yes even with $files = _FileListToArray3($patchmsn2,'*.xml|*.xms',1,1);

it doen't work...

Share this post


Link to post
Share on other sites

hi,

Sorry, the link is to wrong post; use post#1 in that thread; "_FileListToArrayNew2h.zip"

Best, randall [i'll fix link later..]

Thx but still xsl files are not included...

$files = _FileListToArray3($patchmsn2,'*.xml|*.xms',1,1);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0