Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Removing text with TPIPE

Apr
318
7
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
 
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.
 

Similar threads

Back
Top