Sign in to follow this  
Followers 0
orkius

Scan driver

2 posts in this topic

Hi,

with the function _FileListToArray o _RecFileListToArray (of melba) can search for files in a folder, but can not find a function that allows me to check the files for a driver (C:, D:, etc.), there is this function?

Can you help me, I would find all the files, eg documents (*. doc) in C:

Thanks.

Share this post


Link to post
Share on other sites



By Driver I assume that you mean (hard) drive...they both have that ability

$Array = _RecFileListToArray("C:", "*.doc", 1, 1, 0, 2) ;Recursive search for doc files in C:\, returning full path in an unsorted array

$Array = _FileListToArray("C:", "*.doc", 1) ;returns an array of all doc files found in C:\ (no recursion)

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