File_PartitionName()

… visits
Parent Previous Next

Syntax

File_PartitionName(bPartNum As Byte), sSdTempName1

Parameters

Parameter

Description

bPartNum

partition number to check (1-based)

Return value

the volume label (up to 11 characters)

Overview

            an empty string if the card has no volume label entry

Reads the indicated partition label

Returns the volume label of the given partition (1-based), WITHOUT changing which partition is currently active - temporarily mounts bPartNum, reads its label, then restores whichever partition was mounted before the call.


Call File_ListPartitions() first.

Example

Dim sTemp As String * 13

File_ListPartitions()

sTemp = File_PartitionName(3)

Created with the Personal Edition of HelpNDoc: Leave the tedious WinHelp HLP to CHM conversion process behind with HelpNDoc