Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Ned23 Ned23 is offline
external usenet poster
 
Posts: 41
Default Need template to automatically add ".doc" extension and rename fil

Hi,

I've got about 40,000 word perfect files I need to convert to Word 2007.
I've found a couple of batch converters but the problem is that they work
only on files with a single ".doc" extension. Most WP fiiles I have end in
..wp or .wpd or from really old versions of WP the file extension is just the
initals of the person who created them (for example, Michael B. Smith may
have created a WP file in 1996 named: "FILE203.MBS")

So, what I need now is a template add-in or macro to automatically add a
".doc" extension to a folder full of files as a batch operation. Preferably
one that preserves the original extension, so that Michaels file above would
be renamed: "FILE203.MBS.DOC"
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Need template to automatically add ".doc" extension and rename fil

You don't need a macro for this, it is very simple to do with a DOS command.

Copy the appropriatye following text into notepad and save it as DOSHERE.REG
From Windows Explorer, right click and merge the resulting file with the
registry. This will add a "Run MS-DOS Prompt here" if you right click any
folder in Windows Explorer

for Windows XP:

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\Shell\DosPrompt]
@="Run MS-DOS Prompt here"
[HKEY_CLASSES_ROOT\Directory\Shell\DosPrompt\Comman d]
@="Cmd /k CD \"%1\" "


for Vista

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\DosHere]
@="Command &Prompt Here"
[HKEY_CLASSES_ROOT\Directory\shell\DosHere\Command]
@="C:\\WINDOWS\\system32\\cmd.exe /k cd \"%1\""


Select the folder containing the files right click and run the dos prompt.
A DOS window will open with the path at the cursor

type

REN *.* *.*.doc

thats RENspace*.*space*.*.doc

and press enter

Job done!

Repeat for any other folders with files.

Or you could use a Windows rename application - I rather like Better File
Rename - http://www.publicspace.net/windows/B...ame/index.html


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Ned23 wrote:
Hi,

I've got about 40,000 word perfect files I need to convert to Word
2007. I've found a couple of batch converters but the problem is that
they work only on files with a single ".doc" extension. Most WP
fiiles I have end in .wp or .wpd or from really old versions of WP
the file extension is just the initals of the person who created
them (for example, Michael B. Smith may have created a WP file in
1996 named: "FILE203.MBS")

So, what I need now is a template add-in or macro to automatically
add a ".doc" extension to a folder full of files as a batch
operation. Preferably one that preserves the original extension, so
that Michaels file above would be renamed: "FILE203.MBS.DOC"



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Ned23 Ned23 is offline
external usenet poster
 
Posts: 41
Default Need template to automatically add ".doc" extension and rename


Thanks, that's helpful. I can do that, but I'm not sure the many
computer-challenged employees here in the office can do that. Most of them
don't even have admin privileges and cannot edit the registry.

I was hoping for something easier. I may have to assign someone to do this
whole task at a special worstation for a week.

"Graham Mayor" wrote:

You don't need a macro for this, it is very simple to do with a DOS command.

Copy the appropriatye following text into notepad and save it as DOSHERE.REG
From Windows Explorer, right click and merge the resulting file with the
registry. This will add a "Run MS-DOS Prompt here" if you right click any
folder in Windows Explorer

for Windows XP:

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\Shell\DosPrompt]
@="Run MS-DOS Prompt here"
[HKEY_CLASSES_ROOT\Directory\Shell\DosPrompt\Comman d]
@="Cmd /k CD \"%1\" "


for Vista

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\DosHere]
@="Command &Prompt Here"
[HKEY_CLASSES_ROOT\Directory\shell\DosHere\Command]
@="C:\\WINDOWS\\system32\\cmd.exe /k cd \"%1\""


Select the folder containing the files right click and run the dos prompt.
A DOS window will open with the path at the cursor

type

REN *.* *.*.doc

thats RENspace*.*space*.*.doc

and press enter

Job done!

Repeat for any other folders with files.

Or you could use a Windows rename application - I rather like Better File
Rename - http://www.publicspace.net/windows/B...ame/index.html


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Ned23 wrote:
Hi,

I've got about 40,000 word perfect files I need to convert to Word
2007. I've found a couple of batch converters but the problem is that
they work only on files with a single ".doc" extension. Most WP
fiiles I have end in .wp or .wpd or from really old versions of WP
the file extension is just the initals of the person who created
them (for example, Michael B. Smith may have created a WP file in
1996 named: "FILE203.MBS")

So, what I need now is a template add-in or macro to automatically
add a ".doc" extension to a folder full of files as a batch
operation. Preferably one that preserves the original extension, so
that Michaels file above would be renamed: "FILE203.MBS.DOC"




  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Need template to automatically add ".doc" extension and rename

You said that *you* had 40000 docs to rename. This was a quick way for *you*
to do it.

In order to use a macro to perform the function you would have to open the
document in Word to do so and there lies the essential dilemma.

I often see requests from organisations who want to convert a shed load of
documents from (say) WordPerfect to Word and wonder why?
The conversion is rarely going to be perfect, so to convert them all, even
if you overcome the name issue is going to be a mammoth task. Surely it
would make far more sense to convert them on an ad hoc basis as they are
required for use? How many of the 40,000 will ever be required again? I
suspect very few. I would leave them as WP format until they are required
and create new Word templates from those that are being used as pro-forma
letters rather than the widespread dubious practice of renaming altered
documents.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




Ned23 wrote:
Thanks, that's helpful. I can do that, but I'm not sure the many
computer-challenged employees here in the office can do that. Most
of them don't even have admin privileges and cannot edit the registry.

I was hoping for something easier. I may have to assign someone to
do this whole task at a special worstation for a week.

"Graham Mayor" wrote:

You don't need a macro for this, it is very simple to do with a DOS
command.

Copy the appropriatye following text into notepad and save it as
DOSHERE.REG From Windows Explorer, right click and merge the
resulting file with the registry. This will add a "Run MS-DOS Prompt
here" if you right click any folder in Windows Explorer

for Windows XP:

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\Shell\DosPrompt]
@="Run MS-DOS Prompt here"
[HKEY_CLASSES_ROOT\Directory\Shell\DosPrompt\Comman d]
@="Cmd /k CD \"%1\" "


for Vista

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\DosHere]
@="Command &Prompt Here"
[HKEY_CLASSES_ROOT\Directory\shell\DosHere\Command]
@="C:\\WINDOWS\\system32\\cmd.exe /k cd \"%1\""


Select the folder containing the files right click and run the dos
prompt. A DOS window will open with the path at the cursor

type

REN *.* *.*.doc

thats RENspace*.*space*.*.doc

and press enter

Job done!

Repeat for any other folders with files.

Or you could use a Windows rename application - I rather like Better
File Rename -
http://www.publicspace.net/windows/B...ame/index.html


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Ned23 wrote:
Hi,

I've got about 40,000 word perfect files I need to convert to Word
2007. I've found a couple of batch converters but the problem is
that they work only on files with a single ".doc" extension. Most
WP fiiles I have end in .wp or .wpd or from really old versions of
WP the file extension is just the initals of the person who created
them (for example, Michael B. Smith may have created a WP file in
1996 named: "FILE203.MBS")

So, what I need now is a template add-in or macro to automatically
add a ".doc" extension to a folder full of files as a batch
operation. Preferably one that preserves the original extension,
so that Michaels file above would be renamed: "FILE203.MBS.DOC"



Reply
Thread Tools
Display Modes

Posting Rules

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't "Open" a downloaded template. Only "Save" and "Cancel" Dave Microsoft Word Help 1 April 4th 08 02:28 PM
How do you make a "Date" "Static" in a template. Kirk Microsoft Word Help 1 April 21st 07 03:48 PM
Insert picture automatically as "behind" not "in line with text". Taxed Mind Microsoft Word Help 8 March 29th 07 08:40 PM
How can I open an attached file with extension ".wps" in Word 200 MaxBak Microsoft Word Help 6 May 5th 06 05:59 AM
Add a "Rename File" feature Alejandro Ramirez Microsoft Word Help 2 April 26th 06 05:50 PM


All times are GMT +1. The time now is 02:33 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"