Crew algemeen |
|
<SCRIPT LANGUAGE="JavaScript">
<!--
function functienaam()
{
myActiveXObject = new ActiveXObject("Scripting.FileSystemObject");
file = myActiveXObject.GetFile("c:\\test.txt");
file.copy("d:\\test.txt", true);
}
// -->
</SCRIPT>
<input type="button" onclick="javascript:functienaam();" value="blaat">
<SCRIPT LANGUAGE="JavaScript"> <!-- function functienaam() { myActiveXObject = new ActiveXObject("Scripting.FileSystemObject"); file = myActiveXObject .GetFile ("c:\\test.txt"); } // --> </SCRIPT> <input type="button" onclick="javascript:functienaam();" value="blaat">
Zoiets zou moeten werken dacht ik... |