Monday, July 20, 2009

List all computers in the network

With the native NET command:

    NET VIEW

or, to list the names only:

    FOR /F "skip=3 delims=\  " %%A IN ('NET VIEW') DO ECHO.%%A

delims is a backslash, followed by a tab and a space.

Share this

0 Comment to "List all computers in the network"

Post a Comment