orkius Posted January 27, 2011 Share Posted January 27, 2011 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 More sharing options...
Varian Posted January 27, 2011 Share Posted January 27, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now