Saved Bookmarks
| 1. |
Solve : Replacing single lines in files? |
|
Answer» is it possible to use findstr to get a line is a file. then REPLACE that line with and edited line? is it possible to use findstr to get a line is a file. then replace that line with and edited line?findstr is not the tool to edit files. See here for few examples i gave to replace TEXT in files. if you want to try the vbscript, do some changes Code: [Select]..... strLine = objFile.ReadLine strLine=Replace(strLine,"SEARCH","replace") wscript.Echo strLine ....... ahh. thank you very much. it took a LITTLE bit for me to COMPLETELY understand but now i know. Thank you very much gh0std0g |
|