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
In JScript:
var NWVol = WScript.CreateObject("NWVolAdmLib.NWVolAdmCtrl.1");
NWVol.FullName = "\\\\server\\vol";
var ent = NWVol.FindEntry("\\\\server\\vol\\file1");
ent.copy("\\\\server\\vol\\file2");
In VBScript:
set NWVol = WScript.CreateObject("NWVolAdmLib.NWVolAdmCtrl.1")
NWVol.FullName = "\\server\vol"
set ent = NWVol.FindEntry("\\server\vol\file1")
ent.copy "\\server\vol\file2"
ken.mc...@knightfrank.com (Ken McKelvey) wrote in message news:<707d6a80.03082...@posting.google.com>...