12-22-2023, 10:12 PM
Thanks! That was it! It works now. This is not in the otherwise excellent book about the WSH: Inside Windows Script Host
A very good author. His website: Borns Blog
A very good author. His website: Borns Blog
Code: (Select All)
If (Not fso.FolderExists(ordner2)) Then
WScript.Echo "Datei " & ordner2 & " existiert nicht!"
Else
fso.deleteFolder(ordner2), True
WScript.Echo "Ordner " & ordner2 & " geloescht."
End if