Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Net View's Header using BAT

Status
Not open for further replies.

mac7attack

Technical User
Jan 31, 2004
47
0
0
US
Hello,

I am trying to verfiy the computers on the network using the output of the net view command.
This is what I have so far
net view > netview.log
for /f "tokens=1" %%A in (netview.log) do (call checker.bat %%A)

The problem exists becuase net view's output has a header as so.
Server Name Remark?

----------------------------------
I would like to know either how to delete the header or for the FOR command to disregard it when passing the server names to checker.bat.

Thanks in advance,
MAC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top