Removing text with TPIPE

Apr 13, 2010
222
2
57
The Hague
#1
I want to remove the drive letters from a list of filespecs made with "dir /f /s /a:-d \dir\ > files.txt"

With TPIPE I'm trying to use

/selection=Type,Locate,Param1,Param2,MoveTo,nDelimiter,CustomDelimiter,HasHeader

type 0 - delete column
locate 1 - start column, width
p1 = 1
p2 = 2

the rest is irrelevant so I pass zeroes.

TPIPE keeps complaining that my "/selection" parameter is wrong (not a helpful message) in:

tpipe /input=files.txt /selection=0,1,1,2,0,0,0,0

Suggestions anyone?

DJ
 
Apr 13, 2010
222
2
57
The Hague
#3
Of course. That's it. Thx Rex. I knew I was overlooking something obvious, but still didn't see it.
If you could ever invent an /= option for TPIPE am sure someone will knight you.
Cheers, DJ.