|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Hey,
Lately, I've been trying to put up a website/photo album on my server. All the code, of course, were handwritten in TextPad. However, foolish of me, I included the path "file:\C:\..." and all that stuff that would search in the viewer's harddrive instead of the server....which is a problem. So basically to sum is up, does anyone know of any software or method that would allow me to do a "find and replace" features that would go into several files at the same time? I have about 93 files I want to do that with - it would be rather strenuous to go into each seperate file and replace each file seperately - was wondering whether there was an automatic/programmable way. I have MS Frontpage XP, Textpad, Notepad, and MS Word, if those can be of any use. Thanks, kram
__________________
"For today, goodbye. For tomorrow, good luck. And forever, Go Blue!"
University of Michigan President Mary Sue Coleman |
|
|
|
|
|
#2 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Any suggestions?
Thanks, kram |
|
|
|
|
|
#3 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Edmonton, AB, Canada
Posts: 628
|
So you are trying to modify 93 seperate txt files or trying to modify 93 entries within one file. Either way the best way that I could think of is to select all the files and open with MS Word, use "Ctrl H" type what you want in the appropriate boxes, then alt tab and repeat Ctrl H for each file, should take about five minutes to do if the replacement is the same within each file.
|
|
|
|
|
|
#4 | |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Quote:
. Thanks though, for the suggestion.Thanks, kram |
|
|
|
|
|
|
#5 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,384
|
Try copying the code into MS word, do ctrl+F, and click the "replace" tab. Type in the path on the HDD in the first box, ie file:\C:\Documents and settings\me\my documents\my webstuff\
Leave off the file name. Then in the second box, type in the web address, ie http://www.mypage.com/images/
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#6 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Yep, but it's 93 HTML files - might be kinda strenuous to do that. I have considered going into all those files and doing that in the end, though. Thanks
![]() Thanks, kram |
|
|
|
|
|
#7 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Download a trial version of Macromedia's HomeSite 5.5 from http://www.macromedia.com/downloads/
It will allow you to do "Extended Replace" from any file within a directory etc. |
|
|
|
|
|
#8 |
|
Member (8 bit)
Join Date: Aug 2000
Location: Albany, NY
Posts: 252
|
Hey Kram
Here's a couple links to some free text editors that should do what you want...I haven't used them so I don't know how good they work. http://www.silveragesoftware.com/hffr.html http://www.freedownloadscenter.com/P...s/evolvEd.html below is a link to a list of text editors. http://www.totalshareware.com/asp/li....asp?catid=313 Hope one of them can help Cheryl |
|
|
|
|
|
#9 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Anyone know if TextPad can do it? I actually did pay to get the software liscencing, so I would presume that there a function would be available...then again, maybe not. Thanks for the links, though - I'll try them and see if it works.
EDIT: I eventually was able to use TextPad to do this task - what I did was opened about 20 files at a time and did a "Find and Replace" on all documents that were open - so it was 20 times more efficient than it would be to do it one at a time. Then I saved all - it was just too easy. Thanks for the suggestions, though - I was pretty sure that TextPad might have something like this .Thanks, kram Last edited by kram 2.0; 07-02-2004 at 10:45 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|