vbscript – FileSystemObject.FolderExists

**METHOD:** `fso.FolderExists(path)`

**Description**
Teste si un dossier existe.

**Syntax**
`fso.FolderExists(path)`

**Paramètres**
– `path` : Chemin du dossier.

**Retour**
True/False

**Exemples**
« `vb
Dim fso
Set fso = CreateObject(« Scripting.FileSystemObject »)
WScript.Echo fso.FolderExists(« C:Windows »)
« `

**Voir aussi**
`FileExists`, `GetFolder`

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *