为什么我在 - If (fs.FileExists(filename)) 中收到运行时错误“预期对象”?
var filename = "d:\\list.txt";
fs = new ActiveXObject("Scripting.FileSystemObject");
If (fs.FileExists(filename)) //i 'm getting a runtime error "Object expected" here
{
// Open the file
}