Hi all,
I have these 2 scripts one is a vb script the other a java script. The vb scrip one works, the javasript version doen't seem to do anything. It fails but it's doesn't even create the audit log so.
Here is the vb script version Test.vbs - it works
set oImport = WScript.CreateObject("operaimport.clsOperaImport")
If (oImport.ImportData("SN", "Z", "C:\SOURCE\MYSNAME", 1, "C:\SOURCE\MYAUDIT", "U")) Then
WScript.Echo("Import succeeded")
Else
WScript.Echo("Import failed")
End If
Here is the js version - doesn't work
var oImport = WScript.CreateObject("DLLCom.Class");
if (oImport.ImportData("SN", "Z", "C:\SOURCE\MYSNAME", 1, "C:\SOURCE\MYAUDIT", "U")==true)
WScript.Echo("Import succeeded");
else
WScript.Echo("Import failed");
Any ideas please?
Thanks
Mathias
Mathias Banda
Time is longer than a rope.