P55 (DOC,RTF,HTM,TXT) Remove Empty Lines

/P#

Meaning

Extra Parameters: /1{Parameter1} … /n{Nth Parameter}

55

(DOC, RTF, HTM, TXT) Remove Empty Lines

NONE

Must specify /F# with the Special Process File Type Constants

Additional Notes: This special process is used to remove empty lines from one or many files.

EXAMPLE 1 Remove empty lines from a single file

To remove the empty lines from the D:\Files\A.RTF the following syntax would be used:

 

ConvertXLS.EXE /S"D:\Files\B.RTF" /T"D:\Files\B.RTF" /P55 /F5

 

The /S and /T switches specify the input and output files respectively, which in this case is the same. You can optionally keep the input file unchanged by specifying a different name or path for the output file.

EXAMPLE 2 Remove empty lines from many files

To remove the empty lines from all RTF files within the D:\Files\ and save them to the D:\Output\ folder the following syntax would be used:

 

ConvertXLS.EXE /S"D:\Files\*.RTF" /T"D:\Output\*.RTF" /P55 /F5

 

To do recursive subfolders, specify the /R switch.