filecataloger.com > Script > Function -- GetImportMoveDiskCmd

GetImportMoveDiskCmd Function

Remarks:
Create and return a movable disk import command object. The command object can catalog a move disk' content.
Syntax:

Set ImportMoveDiskCmd = GetImportMoveDiskCmd(GroupName, ImportPath, ParentGroup)

Arguments:
Name Description
GroupName Imported catalog group name.
ImportPath The movable disk's path to import.
ParentGroup The parent group of Imported movable disk.
 
return value:
Value Description
ImportMoveDiskCmd the movable disk import command object.
example:

Dim DBPath
DBPath = "c:\sample.fdb"

CreateDB(DBPath)
OpenDB(DBPath)

'Please ensure that the movable disk is exist.
Dim ImportMoveDiskCmd
Set ImportMoveDiskCmd = GetImportMoveDiskCmd("MyMoveDisk", "M:", CatalogDB.CatalogRoot)

If IsObject(ImportMoveDiskCmd) Then MsgBox "The GetImportMoveDiskCmd Function is successful!"

   
See Also:

Import Group Command Object

GetImportCDCmd Function

GetImportFolderCmd Function

GetImportLocalDiskCmd Function

©2008 Greendgh Software. All rights reserved. Privacy statement