ImageEn, unit iexWPD

TIEPortableDevices.CreateFolderOnDevice

TIEPortableDevices.CreateFolderOnDevice

Declaration

function CreateFolderOnDevice(const sDeviceID, sFolderID, sFolderName: WideString): Boolean;

Description

Create a folder in the specified sFolderID on a device.
Parameter Description
sDeviceID The ID of the device where the folder will be created (e.g. ActiveDeviceID
sFolderID The ID of the folder where the folder will be created (ID cannot point to a file)
sSourceFilename The name of the new folder

Example

// Create a folder in the current location
IEPortableDevices.DeleteFromDevice( IEPortableDevices.ActiveDeviceID, IEPortableDevices.ActiveFolderID, 'New Folder' );