hell0 guyz i was offline here f0r l0ng time s0 i may n0t b called a lurker lol btw can s0meone plz pr0vide a batch script fr0m which i can rem0ve empty lines fr0m a txt file.. let say a txt file look like this ----------------------------- hello world this is mdl ----------------------------- and i want to make it like this with a batch file ----------------------------- hello world this is mdl ----------------------------- any help..??? thanx and s0rry if f0und me like a n0ob, i m new t0 this kind 0f things, and als0 english is n0t my primary language hah....
A.txt = txt with empty lines B.txt = save new txt without empty lines cmd Code: @echo off type A.txt | findstr /V "^$" > B.txt exit
Thank you, but i dnt want to create a sec0nd file, i want a script that will make changes to the actual file and save that change in that exactly that file... thnx