Hem / Tips & tricks
Set objFSO = CreateObject("Scripting.FileSystemObject")Set objFolder = objFSO.GetFolder("C:\FSO")If objFolder.Attributes = objFolder.Attributes AND 2 Then objFolder.Attributes = objFolder.Attributes XOR 2 End If