Hi,
I want to copy one file from one location to other location through javascript.
I tried with below solution :
C#
function copy()
{
var myObject, newpath;
myObject = new ActiveXObject("Scripting.FileSystemObject");
myObject.CopyFile ("c:\\test.txt", "c:\\tmp\\myTest.txt");
}Is there any other way to do this. plz help

Manas MohapatraRank #182 · 13.2K reputationPosted Jan 5, 2016, 9:07 PM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 5, 2016, 9:16 PM EST