Set objNetwork = WScript.CreateObject("WScript.Network") Set colPrinters = objNetwork.EnumPrinterConnections For i = 0 to colPrinters.Count -1 Step 2 Wscript.Echo strNextLine, colPrinters.Item(i) & vbTab & colPrinters.Item (i + 1) Next
the result in a .txt file...I don't know how do it.
Ric
< Message edited by book -- 6/16/2008 1:09:11 AM >