DECLARE INTEGER SetVolumeLabel IN KERNEL32.DLL ; STRING @ lpRootPathName, ; STRING @ lpVolumeName IF SetVolumeLabel('A:\'+CHR(0),'MyLabel'+CHR(0)) = 1 * it worked ELSE * it didn't ENDIFVolume labels are case-insensitive; you need to specify the root path of the drive whose volume you're setting.