J
JohnNews
Folks:
On my home network, I used the NET VIEW command (Net View /domain:MyDomain)
to generate the following output.
**********************************************************************
Server Name Remark
----------------------------------------------------------------------------
---
\\MACHINE1
\\MACHINE2
\\MACHINE3
\\MACHINE4
\\MACHINE5
The command completed successfully.
***********************************************************************
What is the syntax of the DOS commands that would allow me to clean up this
list in the following ways:
* First I want to remove the FIRST 3 lines and the LAST line of the
above NET VIEW output
* Next I would like to remove the first 2 characters (\\) of each
remaining line
* Finally I want to remove the computer named MACHINE5 and insert
MAINmachine instead
Thanks in advances,
John.
On my home network, I used the NET VIEW command (Net View /domain:MyDomain)
to generate the following output.
**********************************************************************
Server Name Remark
----------------------------------------------------------------------------
---
\\MACHINE1
\\MACHINE2
\\MACHINE3
\\MACHINE4
\\MACHINE5
The command completed successfully.
***********************************************************************
What is the syntax of the DOS commands that would allow me to clean up this
list in the following ways:
* First I want to remove the FIRST 3 lines and the LAST line of the
above NET VIEW output
* Next I would like to remove the first 2 characters (\\) of each
remaining line
* Finally I want to remove the computer named MACHINE5 and insert
MAINmachine instead
Thanks in advances,
John.