Using ANETRESOUCES I can get all the machine names for a particular domain.
However I also need to retrieve the comments.
I have experimented with Ed's Netresources program but on my Windows 2000 based system, running the GETALLSHARE.PRG just prints the following the following and does nothing else.
Microsoft Windows Network Microsoft Windows Network CONTAINER ANY
All comments gratefully received