Hi guys.
I am using the /write command in a script to try and remove a blank line from a file. I wrote a small loop which counts the lines until it finds a blank one (=$null) and then I'm trying to delete the line using:
/write -dl%linecount c:\file.txt
The problem is the script is deleting the first line in the file, and not the one I want it to. Does anyone have any ideas? Help would be much appreciated. Thanks.