Dear all
I am copying file from one location to other with the help of this following javascript in my current running apps folder but it is not changing its created date and time after checking its property
function copyfile()
{
var scr = '<%=ConfigurationManager.AppSettings("source_filename")%>';
var desc = '<%=ConfigurationManager.AppSettings("dest_filename")%>';
fso = new ActiveXObject("Scripting.FileSystemObject");
fso.CopyFile(scr, desc);
}
Loading

Mayur GujrathiPosted Nov 15, 2011, 3:54 AM
location where i am copying file is my current running apps folder which i am runnig. I have tried some different, i copy file to some diffrent location like desktop and now it works fine with same code... now is it the reason that i am copying file to current running apps folder????