function saveData(filePath, filecontent)
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
var file = "";
var absolutePath = getAbsolutePath();
filePath = absolutePath + filePath;
if(!fso.FileExists(filePath))
{
file = fso.createtextfile(filePath, true);
}
var file = fso.OpenTextFile(filePath, 8, true);
file.WriteLine(filecontent);
file.Close();
}
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
var file = "";
var absolutePath = getAbsolutePath();
filePath = absolutePath + filePath;
if(!fso.FileExists(filePath))
{
file = fso.createtextfile(filePath, true);
}
var file = fso.OpenTextFile(filePath, 8, true);
file.WriteLine(filecontent);
file.Close();
}