I'm sick and tired of dealing with Unix line endings on readmes and the likes so I did a quick lookup and found the following on Wikipedia though it's been modified by me.
TYPE "%1" | FIND "" /V > "%1".cleaned.txt && del "%1"
It's currently in a batch file shortcut on my sendto menu but I'll put it as an extended context menu item in the end.
Anyways, I don't have time for this.
Please some of you guys are gurus when it comes to this. Just spit out a quick and dirty correct way of doing the command. It happens with .JS, .TXT, .MD (Google Chrome readmes and crap), files just name LICENSE, AUTHORS, NEWS, CONRIBUTERS, etc.
I'd like it to process a UNIX line break file, convert it to DOS terminators CR/LF, delete the original file and then rename the ???temp file??? back to the original filename.
Yeah, I could research some more but I'm just super busy and thought I'd throw this out. I got a lot going on in "RL" ATM so sorry in advance for such a request.
Edited by -X-, Yesterday, 11:28 PM.