var fso=new ActiveXObject("Scripting.FileSystemObject");
してから
fso.fileExists("ファイルパス")