Delete parts of a text file

July 12, 2011 at 12:14:19
Specs: Windows 7 Home Premium
I need to delete all "Extracting " from a txt file with a batch script, I have tried some scripts but none of them have worked.

The text file is

Extracting BaseMod.class
Extracting cb.class
Extracting cv.class
Extracting EntityRendererProxy.class
Extracting hl.class
Extracting MLProp.class
Extracting ModLoader.class
Extracting ModTextureAnimation.class
Extracting ModTextureStatic.class
Extracting ok.class
Extracting sk.class
Extracting th.class
Extracting vq.class

It is for Minecraft if you could tell. If you could also supply a way to read a line that would be helpful to.

See More: Delete parts of a text file

Report •

July 18, 2011 at 12:29:27
Hi gudenau

@echo off
type nul>~Tmp.txt
for /f "tokens=1,2 delims= " %%a in (Data.txt) do (
echo %%b >>~tmp.txt
type ~Tmp.txt

Report •

July 19, 2011 at 20:58:24
Sorry, but by the time you posted this I found out a two line meathid of what I wanted.

Report •
Related Solutions

Ask Question