]> www.wagner.pp.ru Git - sites/home_page.git/blob - software/tcl/smbnet.html
Formatting fixed
[sites/home_page.git] / software / tcl / smbnet.html
1 <HTML><HEAD>
2 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
3 <TITLE>Windows Network Neighbourhood on Tcl</TITLE>
4 </HEAD><BODY>
5 <H1>Windows Network Neighbourhood on Tcl</A></H1>
6
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 
10
11 <DL>
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>?
17
18 <DD>list shares on the given computer. By default, lists disks.
19 Optionally, can lists printers if "print" is specified as second
20 argument
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.
25 </DL>
26
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.
30
31 <h4>Missing  features</h4>
32
33 <UL>
34
35 <LI><b>net stat</b> <i>file</i> or at least ability to distinguish
36 between files and directories
37 </UL>
38
39 </BODY>
40 </HTML>