//===================================================// // WSH Script in JScript form coded by Roy Law // // 6:07 PM 2/13/2005 // // Mail:roy_law at 126 dot com Web:luoyi.com // //===================================================//
WinRARFolderName = "D://Program Files//WinRAR"; //Modify it to where your WinRAR installed at SkypeUserName = "roy_law"; //Modify it to your Skype username
var Date = new Date(); var Year = Date.getYear(); var Month = Date.getMonth() + 1; var Day = Date.getDate();
var WshShell = new ActiveXObject("WScript.Shell"); var oExec = WshShell.Exec(WinRARFolderName + "//WinRAR a skype_" + Year + "_" + Month + "_" + Day + "_" + SkypeUserName + " /"%USERPROFILE%//Application Data//Skype//" + SkypeUserName + "/"");
while (oExec.Status == 0) { WScript.Sleep(100); }
WshShell.Popup(SkypeUserName + ",your skype data has been successfully packed to " + "skype_" + Year + "_" + Month + "_" + Day + "_" + SkypeUserName + ".rar",60, "Succeeded! [Scripted by Roy Law]", 0+64);