• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 784
  • Last Modified:

Net Session via script/program

Hi All,

Is there an easy way in vbscript or .net to get the info generated by the net session command (other that calling the command from a shell)?  I'm trying to get the shared folder sessions on a Win2k server, so unfortunately I can't use WMI until we upgrade to 2k3.

Thanks in advance.
0
svenswenson
Asked:
svenswenson
1 Solution
 
David LeeCommented:
Hi svenswenson,

There's this: http://vbnet.mvps.org/index.html?code/network/wnetdemo.htm  Look at the Enumerating Share Connection Information sample.

Cheers!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now