|
Home » ASP Home » Files Home » DirSrch Object
A D V E R T I S E M E N T
Title |
DirSrch Object |
Description |
The DirSrch object recursively searches all directories for a specified folder name or partial directory path. Use DirSrch to locate essential folders whose paths are not known.
Properties: ============ object.StartDirectory = starting directory StartDirectory specifies where to begin looking for matching directories. All directories under the start directory will be recursively searched.
object.LookingFor = folder name or partial path LookingFor is the path fragment or directory name to search for. Anything set in LookingFor will be matched to any part of a directory path.
Methods: ============ object.Execute() Execute performs the search. The time to complete a search is dependent on the start directory and the size of the drive being searched. Execute must be called before calling any other methods.
object.CountMatches() Returns a long specifying the number of matching directories found.
object.MatchingDirs() Returns a collection (array) of matching absolute directory paths.
|
Category |
ASP » Files |
Hits |
373363 |
Code |
Select and Copy the Code
|
|
|
Related Source Codes
A D V E R T I S E M E N T
|
Subscribe to SourceCodesWorld - Techies Talk |
New! Click here to Add your Code!
ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home
Source Codes Home Page | |
|