Renaming Multiple Files in FrontPage

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

I have to rename over two thousand files that have links
to each other. I want to avoid doing this one by one and
still keep all of the links. How can I accomplich this?
 
Hi Kevin,

You'll need to write a macro to do the file renaming, and I would hope you
have naming convention in mind. You may wish to ask this question in the
appropriate NG Microsoft.public.FrontPage.programming.
 
-----Original Message-----
I have to rename over two thousand files that have links
to each other. I want to avoid doing this one by one
and still keep all of the links. How can I accomplich
this?

Microsoft Office FrontPage 2003 Inside Out explains a
macro that scans every file and folder name in a site,
and renames all files and folders to lower case.

If this seems similar to your problem, refer to the
section titled, "Programming Web Objects," in Appendix L.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
MD WebsUnlimited.com said:
Provided they have "The Book" ;>)

Well, anyone who wants a copy can get one. Same as J-Bots.

And yes, if Kevin's requirement is something other than renaming
files to lower case, he would have to modify the VBA code. Sample
code is like that.

Some people like to modify sample code; other like to buy third-party
components. To each his own.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
There is a freeware program that will rename the files to your convention at
http://www.herve-thouzard.com/therename.phtml .
However this will not correct any links within the pages. The broken
hyperlinks report within FP can be surprisingly speedy at correcting the
links, since it will handle many links/pages at once.

--
Ron

Reply only to group - all emails will be deleted unread.


Kevin said:
Thanks to everyone. I thought that there may have been some type of
plug-in that would do the multiple rename but doing a search provided no new
answer. I do have a naming convention in mind if that helps.... The files
are curently named something like this: C01B001.htm C01B002.htm C01C003.htm
and so on. I want to change the 1st 5 digits in the name to let's say
Coffee_ so that the end file name looks like: Coffee_01.htm Coffee_02.htm
Coffee_03.htm. Keep in mind that currently C01B001.htm may have links to
C01B050.htm and other pages will have links back to it. I want to somehow
rename all of the pages and have all the links point to the new names. Is
there any automated way of doing this?!?!
 
If you use this utility, try it on a back-up first with FrontPage closed,
and don't forget to Recalculate Hyperlinks when re-opening the site in FP.
 
Gees, don't get so serious Jim.

My intent was to say that your book, "FrontPage Inside/Out" is the "The
Book" . The emoticon was to bring frivolity to the statement.

Sorry you took offense.
 
MD WebsUnlimited.com said:
Gees, don't get so serious Jim.

My intent was to say that your book, "FrontPage Inside/Out" is the "The
Book" . The emoticon was to bring frivolity to the statement.

Sorry you took offense.

Sorry here, as well. I plead momentary lapse of reason.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top