Wildcard characters (*, ?, and so on) are not supported.
For Each oFile in FSO.GetFolder("C:").Files If Right(oFile.Name, 4) = ".cpl" Then .... End If Next
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionDim fso Dim fso For Each oFile in FSO.GetFolder("C:").Files If Right(oFile.Name, 4) = ".cpl" Then MsgBox "Un fichier cpl a detecte !",vbExclamation + vbOkOnly + vbApplicationModal + 0,"GADGET:" End If Next nrp()