| Document Path: | Home Page / Programming / ActiveFileFinder / Interfaces / Finder Object |   |
PumpWindowMessages
| Value | BOOL |
| Access | Read, Write |
| Notes | When used in GUI programms such as HTA, set this to true will not blocking the Window messages. |
ScanSubDirectories
| Value | BOOL |
| Access | Read, Write |
| Notes | Whether the 'ScanDirectory', 'CompareDirectory' methods scan sub-directories. |
GetFile
| Return Value | File object |
| Arguments: |
|
ScanDirectory
| Return Value | |
| Arguments: |
|
| Notes |
CompareDirectory
| Return Value | |
| Arguments: |
|
| Notes |
CreateDirectory
| Return Value | |
| Arguments: |
|
CopyFile
| Return Value | |
| Arguments: |
|
| Notes |
|
CompareFile
| Return Value | ULONG (bit flags, see notes) |
| Arguments: |
|
| Notes |
|
MD5OfFile
| Return Value | BSTR |
| Arguments: |
|
| Notes |
|
SystemCommand
| Return Value | System Command Result Object |
| Arguments: |
|
| Notes | This method executes a Console command without displaying the Console window. The example bellow compare a local directory with a directory on a second computer. The 'NET' command is used to connect to the second computer.
var finder=new ActiveXObject("ActiveFileFinder.Finder");
var info=finder.SystemCommand("net use \\\\smith_notebook /user:smith smithpassword");
if(info.ExitCode==0) //success
{
//do the job
}
finder.SystemCommand("net use \\\\smith_notebook /delete");
|