[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SetLabel()
Sets the label on a disk
Syntax:
SetLabel( nUnit [, cNewLabel] ) -> nError
nUnit : A disk number. 0=Current disk, 1=A:, 2=B:, 3=C:, ...
cNewLabel : The new label. Default value is "".
Description:
Sets the label on a disk.
Return:
DOS error code or zero if there is no error.
Example:
cLabel := GetLabel( 0 )
? cLabel // returns "MANU ROIBAL"
SetLabel( 0 ) // purges label
GetLabel( 0 ) // returns ""
SetLabel( 0, cLabel ) // sets new label
? GetLabel( 0 ) // returns "MANU ROIBAL"
See Also:
GetLabel()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson