Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-27-2004, 07:56 PM   #1
Moderator
Staff
Premium Member
 
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
Red face Replace Text/Text groups in mass

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
kram 2.0 is offline   Reply With Quote
Old 06-29-2004, 05:31 PM   #2
Moderator
Staff
Premium Member
 
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
Any suggestions?

Thanks,
kram
kram 2.0 is offline   Reply With Quote
Old 06-29-2004, 05:42 PM   #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.
Trent Steel is offline   Reply With Quote
Old 06-29-2004, 06:52 PM   #4
Moderator
Staff
Premium Member
 
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
Quote:
Originally posted by Trent Steel
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.
Basically you're suggesting I go do the replace function on MS Frontpage through 93 files? That was what I originally planned to do, now I'm afraid I'm running out of ideas . Thanks though, for the suggestion.

Thanks,
kram
kram 2.0 is offline   Reply With Quote
Old 06-29-2004, 08:47 PM   #5
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
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.
Force Flow is offline   Reply With Quote
Old 06-29-2004, 08:53 PM   #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
kram 2.0 is offline   Reply With Quote
Old 06-29-2004, 09:35 PM   #7
Premium Member
 
Statica's Avatar
 
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.
Statica is offline   Reply With Quote
Old 06-29-2004, 09:46 PM   #8
Member (8 bit)
 
Cheryl's Avatar
 
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
Cheryl is offline   Reply With Quote
Old 07-02-2004, 10:23 PM   #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.
kram 2.0 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:54 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2