bat file for replacing the digits of of txt file

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
danger_end
Posts: 1
Joined: 18 Sep 2014 01:58

bat file for replacing the digits of of txt file

#1 Post by danger_end » 18 Sep 2014 02:16

hi friends
i want your help how make a bat or vbs file for replacing digits of a txt file

80J 138(AB) 15(CE) 71(BD) 156(CE) 71(AB) 31(DE) 131(CB) 31(BD) 133(AE) 31(DC) 71(BA) 156(DE) 71(AB) 31(CB) 131(DB) 15(CE) 136(AB) 80J


i wana change e to g
d to f
c to e
b to d
a to c
and other is same as
80J 138(cd) 15(eg) 71(df) 156(eg) 71(cd) 31(fg) 131(ed) 31(df) 133(cg) 31(fe) 71(dc) 156(fg) 71(cd) 31(ed) 131(fd) 15(eg) 136(cd) 80J

:?:

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: bat file for replacing the digits of of txt file

#2 Post by foxidrive » 18 Sep 2014 02:42

Can you use free third party command line tools for this task?

GnuSED using the transliteration features will make this easy.

Post Reply