|
Answer» Hi everyone,
I'm using batch programs to work on files and I'd like to know how to DELETE a specific line, of a text file for instance, using a batch program ?
I can print a specific line using the find command but don't know how to delete it next ?
Please help...
ThanX by advance
-=McFly=-I'm pretty SURE you can't delete individual lines from a file. Generally DOS commands deal with devices and files not records.
Even FIND doesn't PULL records from a file. It just pushes selected records that meet the SEARCH criteria to a file or device. The original file remains unchanged.
Use a script. Very effective.
Hope this helps.
|