Get a list of share network resources on a computer

You can get a list of both your resources and any computer on the network. Including admin resources C$, D$ ...

Options

servName - computer name in the format: compName or \\compName. To get your own resources, you can use 'localhost'.

showAdminRes  - whether or not to list admin resources С$, D$ ...

Result

The variable lst will contain a list of resources or an empty string if unsuccessful.

Author: admin