1
Answer

Date and time property not changing after copying file from one location to other

Mayur  Gujrathi

Mayur Gujrathi

13y
1.5k
1
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);

}



Answers (1)