PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage Renaming Multiple Files in FrontPage

Reply

Renaming Multiple Files in FrontPage

 
Thread Tools Rate Thread
Old 08-01-2004, 09:41 PM   #1
Kevin
Guest
 
Posts: n/a
Default Renaming Multiple Files in FrontPage


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?
  Reply With Quote
Old 08-01-2004, 10:07 PM   #2
MD WebsUnlimited.com
Guest
 
Posts: n/a
Default Re: Renaming Multiple Files in FrontPage

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.

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
----------------------------------------------------------------------------
--------------------
If you think I'm doing a good job, let MS know at mvpga@microsoft.com


"Kevin" <kmendez@futurtech.com> wrote in message
news:0b2f01c3d630$1d20f7e0$a001280a@phx.gbl...
> 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?



  Reply With Quote
Old 09-01-2004, 01:57 AM   #3
Jim Buyens
Guest
 
Posts: n/a
Default re: Renaming Multiple Files in FrontPage

>-----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)
|/---------------------------------------------------
*----------------------------------------------------

  Reply With Quote
Old 09-01-2004, 12:08 PM   #4
MD WebsUnlimited.com
Guest
 
Posts: n/a
Default Re: Renaming Multiple Files in FrontPage

Provided they have "The Book" ;>)

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
----------------------------------------------------------------------------
--------------------
If you think I'm doing a good job, let MS know at mvpga@microsoft.com

"Jim Buyens" <anonymous@discussions.microsoft.com> wrote in message
news:056c01c3d653$eb20f0a0$a501280a@phx.gbl...
> >-----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)
> |/---------------------------------------------------
> *----------------------------------------------------
>



  Reply With Quote
Old 09-01-2004, 01:48 PM   #5
Jim Cheshire
Guest
 
Posts: n/a
Default Re: Renaming Multiple Files in FrontPage

Kevin,

You can get an add-in from my site that will do this and it will cost you
nothing.

--
Jim Cheshire
Jimco Add-ins
http://www.jimcoaddins.com
===================================
Co-author of Special Edition
Using Microsoft FrontPage 2003
Order it today!
http://sefp2003.frontpagelink.com



"Kevin" <kmendez@futurtech.com> wrote in message
news:0b2f01c3d630$1d20f7e0$a001280a@phx.gbl...
> 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?



  Reply With Quote
Old 09-01-2004, 11:32 PM   #6
Jim Buyens
Guest
 
Posts: n/a
Default Re: Renaming Multiple Files in FrontPage

"MD WebsUnlimited.com" <none@none.com> wrote in message news:<ejGc#kq1DHA.2888@tk2msftngp13.phx.gbl>...
> 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)
|/---------------------------------------------------
*----------------------------------------------------
  Reply With Quote
Old 10-01-2004, 09:54 AM   #7
Ronx
Guest
 
Posts: n/a
Default Re: Renaming Multiple Files in FrontPage

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" <anonymous@discussions.microsoft.com> wrote in message
news:3AC337A5-4C9D-4F6F-9787-3CFB2FB4ED79@microsoft.com...
> 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?!?!


  Reply With Quote
Old 10-01-2004, 10:03 AM   #8
Ronx
Guest
 
Posts: n/a
Default Re: Renaming Multiple Files in FrontPage

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.

--
Ron

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


"Ronx" <ronx917@hotmail.com> wrote in message
news:uaV76%2311DHA.1676@TK2MSFTNGP12.phx.gbl...
> 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" <anonymous@discussions.microsoft.com> wrote in message
> news:3AC337A5-4C9D-4F6F-9787-3CFB2FB4ED79@microsoft.com...
> > 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?!?!
>
>



  Reply With Quote
Old 10-01-2004, 11:08 AM   #9
MD WebsUnlimited.com
Guest
 
Posts: n/a
Default Re: Renaming Multiple Files in FrontPage

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.

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
----------------------------------------------------------------------------
--------------------
If you think I'm doing a good job, let MS know at mvpga@microsoft.com
"Jim Buyens" <buyensj@interlacken.com> wrote in message
news:3b1b6f7b.0401091532.7e20fc29@posting.google.com...
> "MD WebsUnlimited.com" <none@none.com> wrote in message

news:<ejGc#kq1DHA.2888@tk2msftngp13.phx.gbl>...
> > 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)
> |/---------------------------------------------------
> *----------------------------------------------------



  Reply With Quote
Old 11-01-2004, 01:47 AM   #10
Jim Buyens
Guest
 
Posts: n/a
Default Re: Renaming Multiple Files in FrontPage

"MD WebsUnlimited.com" <none@none.com> wrote in message news:<uXm1io21DHA.1924@TK2MSFTNGP10.phx.gbl>...
> 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)
|/---------------------------------------------------
*----------------------------------------------------
  Reply With Quote
Reply



Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off