Jump to content

Scan driver


orkius
 Share

Recommended Posts

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.

Link to comment
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)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...