|
|
|||||||
Hi, I use UDF DirPlus $Files=DirPlus("C:\","/S /a-d") But takes a lots of time, I need skip some dirs like C:\program files, C:\Windows, C:\winnt. in the search to redeuce the time... Pls Help. |
||||||||
|
|
|||||||
Then do just a single level DIR, and then make separate calls for each subdir you want. |
||||||||
|
|
|||||||
I Need the full funcionality of the UDF but only need reduce the time to search skiping some dirs, it's possible? |
||||||||
|
|
|||||||
Something like this maybe... (untested) Code:
|
||||||||
|
|
|||||||
or, use an array of folders for your "Dont scan" list. Code:
|
||||||||
|
|
|||||||
My suggestion, expanded upon with examples from Allen and Bryce, did not preclude the use of the DirPlus() UDF. |
||||||||
|
|
|||||||
Well to be a bit more specific, WHAT are you looking for? There are other methods and tools for finding items on a system that may be much better or faster depending on what you're looking for. |
||||||||
|
|
|||||||
Well I need find office (xls, doc, ppt), acrobat (pdf), outlook (pst, pab) files in all Hdd, but EXCLUDE the following dirs: C:\WINDOWS OR WINNT C:\PROGRAM FILES\LOTUS\NOTES\DATA C:\Documents and Settings\%USERS%\Favorites AND C:\PERSONALDATA All files I will backup in to another pc. |
||||||||
|
|
|||||||
create a scheduled task and use command-line RAR/WinZip/7-Zip to create an archive of all those files. Then it will even support what directory the files came from. You could also use ROBOCOPY to perform that task and even keep the files mirrored if you want. |