2 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
3 <TITLE>Windows Network Neighbourhood on Tcl</TITLE>
5 <H1>Windows Network Neighbourhood on Tcl</A></H1>
7 <A HREF="smbnet.tcl">This package</A> provides access to lists of
8 network resources in Microsoft Windows (aka SMB) networks. It provides
9 single command <B>net</B> which has subcommands
12 <DT><B>net domains</b>
13 <DD> lists domains or workgroups in the network
14 <DT><b>net computers</b> <i>domain</i>
15 <DD>list computers in given domain/workgroup
16 <DT><b>net shares</b> <i>computer</i> ?<b>print</b>?
18 <DD>list shares on the given computer. By default, lists disks.
19 Optionally, can lists printers if "print" is specified as second
21 <DT><b>net glob</b> <i>//computer/share/path</i>
22 <DD> does roughly same as builtin <b>glob</b> command, but with network
23 path. (currently only last component of path may contain wildcards and
24 it shouldn't be share name.
27 Under Unix (where smbnet is implemented via exec smbclient) you might
28 need to set environment variable USER to username%password in order to
29 get access to the share.
31 <h4>Missing features</h4>
35 <LI><b>net stat</b> <i>file</i> or at least ability to distinguish
36 between files and directories