How to delete a empty line in file?
When i searched for it , people are creating another file to move non empty lines like follows
gc c:\FileWithEmptyLines.txt | where {$_ -ne ""} > c:\FileWithNoEmptyLines.txt
Is there any way to delete the line in the source file itself?