Set objFSO = CreateObject("Scripting.FileSystemObject") If not objFSO.folderexists("c:\ProgramData\choc") AND not objFSO.folderexists("C:\Documents and Settings\All Users\Application ") then wscript.echo "Folder does not exist" Else wscript.echo "Folder exists" end if