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);
}
Date and time property not changing after copying file from one location to other
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Mayur GujrathiRank #666 · 3.6K reputationPosted Nov 14, 2011, 10:54 PM EST
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????