>BTW, you might try privating Ed with the thread #. I'm almost positive this is his.
The code shown isn't mine; try downloading NETRSC.ZIP and CLSHEAP.ZIP; the demo program GETALLSHARE.PRG in NETRSC.ZIP will enumerate all shares visible in a Novell or MS Network from a Win9x or WinNT/Win2K/WinXP environment.