NetStat data in CSV format??

January 27, 2010 at 09:37:18
Specs: Windows XP
Does anyone know if there is an easy way to take data captured from Netstat in a text file and convert it to CSV instead of tab / space delimited?

See More: NetStat data in CSV format??

Report •

#1
January 27, 2010 at 10:12:03
@echo off > newfile & setLocal enableDELAYedeXpansion

for /f "tokens=* delims= " %%a in (myfile) do (
set S=%%a

set S=!S:    = !
set S=!S:   = !
set S=!S:  = !
set S=!S: = !

set S=!S: =,!
>> newfile echo !S!
)


=====================================
Helping others achieve escape felicity

M2


Report •
Related Solutions


Ask Question