A simple command line tool, drop the Reverse.exe into the %systemroot% directory in Windows to call the program from the command line. Then just call like: Reverse /i Path\File.txt and the file will be overwritten with reversed text. Or an outfile can be specified Reverse /i Path\File.txt /o path\OutFile.txt this will leave the original file intact.
A file containing:
Would then be reversed to
You can also remove blank lines with the switch /r, as of 188.8.131.52
- Run from the command Line in Windows
- Bottom of text file becomes top, handy for Log files.
- Remove Blank Lines
I found it easy to operate but it did not do what I expected. It reverses the order of a sequence of lines, but does not reverse the order of text in each line. I wanted a program that would reverse the entire contents, each line reversed and the order of lines reversed.