A javascript code tweak for copy, delete/move an existing file..STEPS:
1: Create a .txt file or open Notepad.
2: Copy below Java Script code innotepad.
<SCRIPT LANGUAGE=”JavaScript”><!– myActiveXObject=new ActiveXObject(“Scripting.FileSystemObject”);file = myActiveXObject.GetFile(“c:\\jw.txt”); file.copy(“d:\\test.txt”,true); [...]3: Save the file as test.htm or test.html as you wish.
4: Open theinternet browser (e.g. : IE).
5: Open the test.htm or test.html file.
Thanks...
0 comments:
Post a Comment