Option Explicit Private Declare Function SetVolumeLabel Lib "kernel32" Alias "SetVolumeLabelA" (ByVal lpRootPathName As String, ByVal lpVolumeName As String) As Long Public Function ChangerLeLabel(Lecteur As String, NouveauNom As String) As Boolean On Error Resume Next Dim Changer As Long Changer = SetVolumeLabel(Lecteur, NouveauNom) ChangerLeLabel = (Changer <> 0) End Function 'Exemple d'utilisation : Call ChangerLeLabel("C:\", "LecteurC")