But from the [link|http://software.oit.pdx.edu/cgi-bin/hman-net?ManSection=1&ManTopic=nmblookup|nmblookup] man page:
nmblookup is used to query NetBIOS names and map them to IP addresses in a network using NetBIOS over TCP/IP queries. The options allow the name queries to be directed at a particular IP broadcast area or to a particular machine. All queries are done over UDP.
If all goes well, "nmblookup w2k_box_name" should retrieve the IP address. [I recall from past experiments that you may have to specify the WINS server with the -U option]