可以在 Windows Phone 上使用它吗?
var fsObj = new ActiveXObject("Scripting.FileSystemObject");
var theFile = fsObj.CreateTextFile("c:\\giantco.txt", true);
theFile.WriteLine(theData);
theFile.Close();
据我了解,那里可能没有 c:\
- WP7 和 iPhone 是否有替代方案?
干杯!
最佳答案
没有。 WP7 上不存在 ActiveX。您无法从任一网络浏览器直接访问文件系统。
关于javascript - 在 Windows Phone 7 上使用 FileSystemObject - IE9 Mango(和 iPhone 替代品),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7205100/