Replacing characters in a text file with a batch file

前端 未结 7 402
一个人的身影
一个人的身影 2021-01-18 08:03

Is there a way to replace some characters in a text file with a batch file?

I didn\'t find any command to do that.

7条回答
  •  北恋
    北恋 (楼主)
    2021-01-18 08:49

    You can use DOS port of Unix command line utility "tr".

    A free DOS port can be found here, one of the ones I like (there are many different ones) are "UXUTL — Comprehensive collection of command line Unix utilities for DOS."

    The benefit is that you get a WHOLE BUNCh of incredibly useful commands, not just tr.

提交回复
热议问题