Article ID: 193774
Article Last Modified on 1/27/2005
DECLARE INTEGER SetVolumeLabel IN Win32API STRING lcRootPath,;
STRING lcVolumeLabel
liRetVal = 0
* Message box with OK/Cancel buttons
liRetVal = MESSAGEBOX("Insert scratch floppy disk in drive A:",;
1)
* Handle non-OK selection from message box
IF liRetVal # 1
RETURN
ENDIF
lcVolumeLabel = "Test"
= SetVolumeLabel ("A:\", lcVolumeLabel)
You can examine the drive label by right-clicking the drive in Windows Explorer and
selecting Properties. The volume label is located near the top of the
General tab on the Property page.
Additional query words: kbVFp600 kbAPI kbVFp500a kbVFp500 kbVFp300b
Keywords: kbhowto kbcode KB193774