soulcaliburvn Posted September 13, 2006 Posted September 13, 2006 I need get all computer name in all work group and display them. Some one can help me ?
Xenobiologist Posted September 13, 2006 Posted September 13, 2006 I need get all computer name in all work group and display them. Some one can help me ? Hi, try : #include<Array.au3> $Servernames = Net_View() _ArrayDisplay($Servernames, "Servernames") Func Net_View() Local $s_Buf = '', $a_Buf, $i_Pid = Run(@ComSpec & ' /c net view', '', @SW_HIDE, 2 + 4) While Not @error $s_Buf &= StdoutRead($i_Pid) WEnd $a_Buf = StringRegExp($s_Buf, "\\\\([0-9a-zA-Z-]*)", 3) ProcessClose($i_Pid) Return $a_Buf EndFunc ;==>Net_View So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
soulcaliburvn Posted September 13, 2006 Author Posted September 13, 2006 thanks for helping. I also need to get all workgroup name. Is there some way to call diaglog box of window show my network place ???
Xenobiologist Posted September 13, 2006 Posted September 13, 2006 Hi, something like this? @LogonDNSDomain Logon DNS Domain. @LogonDomain Logon Domain. @LogonServer Logon server. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
soulcaliburvn Posted September 13, 2006 Author Posted September 13, 2006 thank you very much. nice avatar
Xenobiologist Posted September 13, 2006 Posted September 13, 2006 (edited) thank you very much.nice avatar Thanks! Glad I could help They are everywhere Edited September 13, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
soulcaliburvn Posted September 13, 2006 Author Posted September 13, 2006 (edited) Is there some way to call diaglog box of window to show my network place ??? the same as diaglog when u add network printer. Edited September 13, 2006 by soulcaliburvn
Moderators SmOke_N Posted September 13, 2006 Moderators Posted September 13, 2006 Is there some way to call diaglog box of window to show my network place ???the same as diaglog when u add network printer.@th.meger.. they are everywhere... @soulcaliburvn any questions totalling 3 in less than an hour we charge an hourly rate for Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
conket Posted December 26, 2006 Posted December 26, 2006 @ th.meger. what shall I say ??? I digged up the whole world looking for ... the answere. Now I got YOU, in this forum . goddamn it !!! billions thankssssssssssssssssssssss
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now