*

var fso, f;
function copyFile() 
{ 
var lcal= location.href;
lcal=lcal.substring(8,lcal.lastIndexOf("/"));
//alert(lcal);


fso = new ActiveXObject("Scripting.FileSystemObject"); 
//f = fso.CreateTextFile(lcal+"//main_TC.css", true); 
//f.WriteLine("This is a test."); 
// f.Close(); 
f = fso.GetFile(lcal+"//main_TC.css"); 
f.Copy(lcal+"//css/main.css"); 

}

 

*

相关文章:

  • 2021-08-05
  • 2021-11-19
  • 2021-10-22
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2021-09-21
猜你喜欢
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-06-28
  • 2021-06-24
  • 2021-12-27
  • 2021-08-12
相关资源
相似解决方案