Autor Beitrag
Pdd
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 142

Win XP
Delphi 7
BeitragVerfasst: Di 21.03.06 19:38 
Hallo,
gibt es eine Möglichkeit per DOS/Batch alle PC's aufzuzählen, mit denen der PC verbunden ist?
Pdd
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Di 21.03.06 22:16 
ausblenden Quelltext
1:
netstat -a					


Von sysinternals.com gibt es mit portmon auch was Grafisches. Ich vermute mal du willst aber irgendwie an die Daten ran kommen und die weiterverarbeiten? Ich denke das geht auch eleganter...
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 21.03.06 22:20 
Gib einfach mal in der Kommandozeile folgendes ein:
ausblenden Quelltext
1:
net view					

Liste alle Computer der aktuellen Arbeitsgruppe auf.

Wenn Du das in einem eigenen Programm brauchst, musst Du das ganze über die WNet-API machen. (Die aber bescheuert zu programmieren geht).

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Pdd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 142

Win XP
Delphi 7
BeitragVerfasst: Mi 22.03.06 14:53 
na ja, ich brauche es, um die PC's alle in einer Batch-Anwendung aufzulisten... ich probiers mal aus!