need to open a series of files and "find + replace" the same thing in all..

Don
Joined
21 Oct 2002
Posts
46,778
Location
Parts Unknown
ok, basically i've got this now..
http://bleddyn.co.uk/photos/france/pages/DSC01060_jpg.htm

and want them all to look like this..

http://bleddyn.co.uk/photos/france/pages/DSC00952_jpg.htm



so basically i need to

open a series of .htm files
1 remove <h2>*.</h2>
2 replace 'Previous' with <img src="previous.png" alt="previous" width="20" height="20" border="0">
3 replace 'Home' with <img src="home.png" alt="home" width="20" height="20" border="0">
4 replace 'Next' with <img src="next.png" alt="next" width="20" height="20" border="0">
save (same filename)


can someone help me with this? i'm used to using batch files, but only on the filenames etc themselves, never the content..
 
sweet, that would do just the file in the subfolder that its contained in yeah?

-would prefer to do it on a pc, so i can keep the whole site on my usbkey, so if anyone can convert that to .bat, i'd really appreciate it
 
Last edited:
Back
Top Bottom