Bulk conversion

R

rob-adog

hi,
i am having major issues with upgrading to 2007. all users that have 2007
opening 2003 docs are opening in compatabiity mode, this then makes the
machine run like a dog. If i install the converter pack for the 2003 machines
and save in 2007 format, all the 2003 machines run like a dog. I will
obviolsly have to increase the speed in which i do my upgrades to 2007 so all
docs can saved in 2007 format. my problem then is converting all the existing
docs. i have looked at the ofc.exe cmd line tool and have some major issues
with it.
It doesnt delete the original copy, leaving me with a major headache with
users updating the wrong copy of the doc.
i cant seem to set it at a share and let it run, i need to know how many
levels i need to go down and set the parameters, this could take forever.
has anyone done a bulk conversion easily?
 
L

Leonard A.

Rob,

I find myself in the same place as you. I want to convert all my Office 2000
documents to 2007 leaving nothing for my end-users to be confused about. What
did you finally do to eliminate your problem? Please let me know.

Thanks

Leonard
 
H

Harlan Grove

Leonard A. said:
I find myself in the same place as you. I want to convert all my Office 2000
documents to 2007 leaving nothing for my end-users to be confused about. What
did you finally do to eliminate your problem? Please let me know. ....
"rob-adog" wrote: ....

If the ofc.exe program accepts filenames on its commandline, then use
a batch file. The following batch file iterates over all .doc files on
a specified drive/share.


@REM -- batch file begins here --
@REM usage: %0 [\\servername\sharename|driveletter:]
@REM without commanddline argument, process from the root directory of
the active drive
@setlocal enableextensions
@echo off

set AD=%~1\.ARCHIVE

if not exist "%AD%\nul" md "%AD%" 2> nul

for /R \ %%f in (*.doc) do (
echo %%~ff
if not exist "%AD%%%~pf\nul" md "%AD%%%~pf" 2> nul
echo convert "%%~ff" (ofc.exe commandline here)
echo move "%%~ff" "%AD%%%~pf"
)
@REM -- batch file ends here --


Change the 2nd echo commandline to your actual ofc.exe commandline
using "%%~ff" as the filename argument. Remove 'echo' from the 3rd
echo commandline to move original .doc files to \.ARCHIVE directory on
the same drive/share as you're processing. Keep the original files for
a few months (or move them onto backup tapes/CDs/DVDs) just in case
the conversions didn't quite work.
 
H

Harlan Grove

Harlan Grove said:
@REM -- batch file begins here -- ....
for /R \ %%f in (*.doc) do (
....

Oops! Make that for commandline

for /R "%AD%\" %%f in (*.doc) do (

So the whole batch file should be


@REM -- batch file begins here --
@REM usage: %0 [\\servername\sharename|driveletter:]
@REM without commanddline argument, process from the root directory of
the active drive
@setlocal enableextensions
@echo off

set AD=%~1\.ARCHIVE

if not exist "%AD%\nul" md "%AD%" 2> nul

for /R "%AD%\" %%f in (*.doc) do (
echo %%~ff
if not exist "%AD%%%~pf\nul" md "%AD%%%~pf" 2> nul
echo convert "%%~ff" (ofc.exe commandline here)
echo move "%%~ff" "%AD%%%~pf"
)
@REM -- batch file ends here --
 

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

Top