
July 1st, 2010, 07:04 PM
|
|
Registered User
|
|
Join Date: Jul 2010
Location: Bulgaria
Posts: 3
Time spent in forums: 1 h 20 m 6 sec
Reputation Power: 0
|
|
|
I have a small tool for this
I have a small tool written in AutoIt.
It reads your file and removes enter, then writes in another file.
I have included the compiled .exe in today's promotions on my site.
You can download it from there or use the code below and compile by yourself:
$n = InputBox("filename","enter the filename - must be in SAME folder with script!",'')
$f = FileOpen($n, 0)
$f1 = FileOpen($n & '-result.txt', 2)
While 1
$l = FileReadLine($f)
If @error = -1 Then ExitLoop
$l1 = StringReplace($l, @CRLF, '')
FileWrite($f1, $l1)
WEnd
FileClose($f)
FileClose($f1)
MsgBox(0, 'Ready!', "Your new file is " & $n & '-result.txt')
|