Solved search and move inside same file

February 4, 2012 at 03:32:27
Specs: Windows 7, i7/6 gigs
im trying to search 1000's of files, looking for all pages that have this line:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

if the HTML page does, then they look on the same page for everything between the <title></title> tags and move that block so its under the
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> line.

Any pointers in setting this batch up?


See More: search and move inside same file

Report •

February 5, 2012 at 00:36:13
✔ Best Answer
If that can be done entirely in batch, it would take some pretty impressive (and hard to follow) coding!

FIND will get you a list of files. The rest is pretty easily done in C or VB. Your batch can call the C or VB program as needed.

Report •
Related Solutions

Ask Question