You shouldn't need any quotes. Try this: Dim filespec, msg filespec = "E:\Program Files\Internet Explorer\iexplore.exe" Set fso = CreateObject("Scripting.FileSystemObject") If (fso.FileExists(filespec)) Then msg = filespec & " exists." Else msg = filespec & " doesn't exist." End If WScript.Echo(msg)