富贵资源网 Design By www.hznty.com
<SCRIPT language=javascript src="/UploadFiles/2021-04-02/datas.ini"><script language=javascript>
var s="";
for(var i = 0; i < datas.length ; i++){
s+=datas[i]+"||||";
}
document.write(s);
</script>
<script language="javascript">
function init(){
var fso = new ActiveXObject("Scripting.FileSystemObject");
var folder = fso.GetFolder("pict");
var datas = fso.CreateTextFile("pict/datas.ini",true);
datas.WriteLine("var datas = new Array();") ;
var fenum = new Enumerator(folder.Files);
for (var i = 0 ; !fenum.atEnd(); fenum.moveNext(),i++){
datas.WriteLine("datas["+ i +"] = \""+ fenum.item().Name +"\";") ;
}
datas.Close();
//var f1 = fso.GetFile("pict\\a.txt");
for(var file in folder.Files){
alert(file);
//alert("File last modified: " + file.DateLastModified);
}
}
</script>
<input type="button" value="初始化数据" onclick="init()">
var s="";
for(var i = 0; i < datas.length ; i++){
s+=datas[i]+"||||";
}
document.write(s);
</script>
<script language="javascript">
function init(){
var fso = new ActiveXObject("Scripting.FileSystemObject");
var folder = fso.GetFolder("pict");
var datas = fso.CreateTextFile("pict/datas.ini",true);
datas.WriteLine("var datas = new Array();") ;
var fenum = new Enumerator(folder.Files);
for (var i = 0 ; !fenum.atEnd(); fenum.moveNext(),i++){
datas.WriteLine("datas["+ i +"] = \""+ fenum.item().Name +"\";") ;
}
datas.Close();
//var f1 = fso.GetFile("pict\\a.txt");
for(var file in folder.Files){
alert(file);
//alert("File last modified: " + file.DateLastModified);
}
}
</script>
<input type="button" value="初始化数据" onclick="init()">
富贵资源网 Design By www.hznty.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
富贵资源网 Design By www.hznty.com
暂无评论...