6,850
社区成员
发帖
与我相关
我的任务
分享
with(new ActiveXObject("Scripting.FileSystemObject"))
{
CopyFile("E:\\Program Files\\Tencent\\QQ\Users\\548487645\\msg2.0.db", "E:\\Bak\\" +
GetDateTimeFileName() + ".db", true)
}
function GetDateTimeFileName()
{
with(new Date())
return(s(getYear()) + s(getMonth() + 1) + s(getDate()) +
s(getHours()) + s(getMinutes()) + s(getSeconds()))
}
function s(s)
{
return(s.toString(10))
}