Re: Bulk conversion
- From: Harlan Grove <hrlngrv@xxxxxxxxx>
- Date: Mon, 23 Jun 2008 21:52:31 -0700 (PDT)
Leonard A. <Leonard A...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote...
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:....
. . . 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. . . .
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.
.
- Follow-Ups:
- Re: Bulk conversion
- From: Harlan Grove
- Re: Bulk conversion
- Prev by Date: Re: 2007 office, student
- Next by Date: Re: Bulk conversion
- Previous by thread: Re: 2007 office, student
- Next by thread: Re: Bulk conversion
- Index(es):
Relevant Pages
|