中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 06:27
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » Is there a way to use a batch file to display the computer names on a LAN
Printable Version  1,343 / 6
Floor1 heicai Posted 2007-02-06 05:36
中级用户 Posts 156 Credits 385
In Network Neighborhood, the workgroup can display the computers in the same workgroup.
I want to use a batch file to simplify the job of sending files to all members of the same workgroup.
Can anyone give an example?
Floor2 liuyilin Posted 2007-02-06 05:49
初级用户 Posts 16 Credits 38
Search for it, there are lots.
Floor3 heicai Posted 2007-02-06 05:54
中级用户 Posts 156 Credits 385
I searched. None of them do what I want. I want to automatically detect unknown computer names on the LAN.
Usually they all use specified or known computer names. That's not flexible.

[ Last edited by heicai on 2007-2-5 at 05:02 PM ]
Floor4 everest79 Posted 2007-02-06 08:23
金牌会员 Posts 1,127 Credits 2,564
First you need to state your local network environment on this point, because there are many methods, but they all require support from different services. For example, if you turn off server, disable ICMP, and disable NBT registration, then you won't even get the known ones. As for the unknown ones, you'll need to provide the naming pattern characteristics of the machines on your network class, or a list of known machines.
Floor5 heicai Posted 2007-02-06 08:43
中级用户 Posts 156 Credits 385
Turn off server, disable ICMP, disable NBT registration
Rule out these factors!!

There are no naming characteristics for this network class, or can it send by IP address instead? How do you parse 172。16 or 198。168?
Floor6 yang871674823 Posted 2009-08-23 04:57
新手上路 Posts 1 Credits 1
Floor7 gdyabc Posted 2009-08-23 22:08
初级用户 Posts 37 Credits 41 From 四川南充
The one in post #6 can only get the names of machines on the LAN that have sharing enabled...
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023