I am trying to use the NDAP controls with Windows Script Host but am
not getting very far as all the examples seem to be in VB. In WSH I
seem to be having trouble instantiating the objects. Does anyone have
any examples in WSH?
At the moment I am simply trying to simulate NCopy.exe.
From the examples I think the VB code is:
Dim ent As NWVolAdmin.NWEntry
Set ent = NWVolAdmin.FindEntry("\\Server\Vol\file1")
ent.copy("\\Server\Vol\file2")
Presumably in WSH I need to use WScript.CreateObject first but I
cannot find any parameter that works.
Any ideas will be gratefully received.
Thanks,
Ken McKelvey