I am looking for a way to find the share paths on a remote machine. This information is visible in the Compmgmt.msc snap in under shares, but I need to extract it programatically in VB6. The path information is retrievable if the remote registry can be read, but often security settings prevent this. Using NET VIEW \\<ComputerName> gives the sharenames, but not the internal pathway associated with them.
The end objective is to find a way to determine whether a share exists on a remote machine which references a specific path on that machine - ie Is there a share on machine ABC which references folder C:\XYZ.